PT-2026-68327 · Gitea · Gitea
CVSS v4.0
8.3
High
| Vector | AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Gitea versions prior to 1.27.0
Description
Authenticated attackers can bypass server-side request forgery (SSRF) protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths. The issue occurs because the application uses Go's default
http.Get without a custom DialContext. Attackers can provide arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to access internal services, cloud instance-metadata endpoints, or read local files, including application configurations containing database credentials and signing secrets. The exfiltrated data can be saved as migration release assets for later retrieval.Recommendations
Update Gitea to version 1.27.0 or later.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gitea