Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-58441

 

Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-58441

Published: July 14, 2026


Vulnerability identifier: #VU137414
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2026-58441
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to server-side request forgery in the restore-repo command when processing a crafted repository dump containing a malicious pull_request.yml Head.CloneURL value. A remote attacker can trick an administrator into restoring a crafted dump to disclose sensitive information.

User interaction is required to run the restore-repo CLI command against a malicious dump. The issue can also cause the server to initiate git fetch requests to attacker-chosen URLs, including internal network targets and file:// paths readable by the Gitea process.


Affected software

Gitea

How to mitigate CVE-2026-58441

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins