Description
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.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| RayLabsHQ | gitea-mirror | < 3.38.1 |
References
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/gitea/test-connection.ts#L84-L105
- 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/security/advisories/GHSA-9m33-xfrc-5jxw
- https://www.vulncheck.com/advisories/gitea-mirror-before-3.38.1-unauthenticated-ssrf-via-connection-test-endpoints
Timeline
- Published
- Nov 24, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred