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

 

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

Published: July 14, 2026


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

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information from internal services and local files.

The vulnerability exists due to server-side request forgery (SSRF) in migration asset download handling and related URI fetching code when processing user-supplied download URLs. A remote user can supply a specially crafted URL to disclose sensitive information from internal services and local files.

Exploitation through the migration path requires permission to trigger a repository migration, and the issue can be abused with http:// URLs to reach internal network resources or with file:// URLs to read local files.


Affected software

Gitea

How to mitigate CVE-2026-59765

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins