CVE-2026-136177gitea-mirror before 3.38.1 Unauthenticated SSRF via Connection Test Endpoints
RayLabsHQ gitea-mirror before 3.38.1 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server send HTTP requests by supplying a url to /api/gitea/test-connection or /api/github/test-connection. Attackers can target internal network services and cloud instance metadata endpoints, reading response content leaked through upstream error messages returned by httpGet.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RayLabsHQ gitea-mirror: affected: before 3.38.1; fixed in
3.38.1
Vendor advisories:
- https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-9m33-xfrc-5jxw (vendor-advisory)
- https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335 (patch)
- https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.38.1 (release-notes)
References
- https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-9m33-xfrc-5jxw
- https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335
- https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.38.1
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/gitea/test-connection.ts#L84-L105
- https://www.vulncheck.com/advisories/gitea-mirror-before-3.38.1-unauthenticated-ssrf-via-connection-test-endpoints
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.