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

 

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

Published: July 14, 2026


Vulnerability identifier: #VU137442
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:L/SI:N/SA:N]
CVE-ID: CVE-2026-58314
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 via server-side request forgery.

The vulnerability exists due to improper restriction of server-side request forgery in the hostmatcher external builtin when processing webhook delivery or repository migration requests to CGNAT and other non-routable address families. A remote user can configure a crafted webhook target or migration URL to disclose sensitive information from internal services via server-side request forgery.

For webhook delivery, the response status, headers, and body up to 1 MB are stored and rendered to the webhook owner.


Affected software

Gitea

How to mitigate CVE-2026-58314

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins