Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryCreate migration pointing at attacker DNS host
-
ExploitValidated address differs from connected address
-
ExecutionServer reaches internal Git/HTTP endpoints
-
ImpactExfiltrate internal content via error messages
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK
1 technique across 1 tactic: Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold an authenticated Gitea account (≤1.27.3) with privilege to create repository migrations or pull mirrors. Exploitation requires the attacker to control a hostname whose DNS returns multiple answers so that the IP validated by the egress/SSRF check differs from the IP Git actually connects to (a TOCTOU multi-answer DNS race). The intended internal target must be a reachable Git or HTTP endpoint on the server's network. Limiting factors: requires authentication and migration/mirror permissions (not anonymous), depends on a non-deterministic DNS resolution race rather than a deterministic request, and is fixed in Gitea 28.0.0; disclosure of internal response content additionally relies on error messages being surfaced to the user. |
| Impact | All exploitation-likelihood signals point LOW. The official CVSS is 4.3 (Medium), EPSS is 0.12% at the 2nd percentile (very low predicted exploitation), there is no CISA KEV listing, and the SSVC decision framework returns Exploitation: none / Automatable: no / Technical Impact: partial - a consistent picture of a low-priority, non-wormable issue. No public exploit code is present in the provided references (they are vendor patches, release notes and advisories, not a POC). The one notable CONFLICT is between the official CVSS impact (C:L/I:N/A:N) and the description, which explicitly states the attacker can be 'reading from and writing to reachable internal Git or HTTP endpoints' - the write capability implies an integrity impact that the published vector scores as I:N, so the official score likely understates impact; this should be verified against the Gitea advisory (GHSA-6g2h-xpg3-rm48). Also note the attack is a TOCTOU / multi-answer-DNS race, which raises real-world attack complexity above the AC:L in the published vector. Net: a genuine authenticated SSRF worth patching, but not an emergency - no evidence of active or automatable exploitation, and a fix is available in Gitea 28.0.0. |
| Exploit ScenarioDerived | A low-privileged user with permission to create repository migrations or pull mirrors submits a clone URL whose hostname is attacker-controlled and returns multiple DNS answers; the egress validation check approves one (safe-looking) address while Git subsequently connects to a different, internal address, letting the server reach internal Git/HTTP services. The attacker then reads internal content directly or harvests it from migration/mirror error messages (CWE-209). No public exploit code was identified at time of analysis, and the attack depends on a non-deterministic DNS race. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated low-privileged users on self-hosted Gitea through 1.27.3 can bypass the repository migration and pull-mirror egress checks by supplying a hostname with multiple DNS answers, so the address Gitea validates is not necessarily the address Git later connects to. This lets an attacker with migration or mirror creation rights reach internal Git or HTTP endpoints on the server's network, with limited read and write impact (assessed CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N), and internal response content may additionally leak through migration and mirror error messages (CWE-209). Exploitation is non-deterministic and depends on winning a multi-answer DNS race plus a reachable internal target, and no public exploit code was identified at time of analysis; EPSS is 0.12% (2nd percentile), CISA SSVC rates exploitation as none and the issue as not automatable.
RemediationAI
Vendor-released patch: upgrade to Gitea 28.0.0 (https://github.com/go-gitea/gitea/releases/tag/v28.0.0, with release notes at https://blog.gitea.com/release-of-28.0.0/ and detail in advisory GHSA-6g2h-xpg3-rm48); no separate patched 1.27.x build is identified in the provided data, so treat 1.27.3 and earlier as unfixed rather than assuming a point release exists. Because the flaw is a bypass of the egress validation itself, the internal allow/block list and local-network blocking options in Gitea's migration configuration are not a reliable workaround on their own and should be considered defense in depth only; where they are enabled, keep them enabled. Practical compensating controls before upgrading: revoke or restrict the ability to create migrations and pull mirrors to trusted accounts and teams (side effect: blocks legitimate import/mirroring workflows for ordinary users); enforce egress policy at the network layer - firewall or container/namespace rules that let the Gitea process reach only explicitly allow-listed Git and HTTP hosts (side effect: legitimate mirrors of internal repositories stop working); and force name resolution through a resolver that returns a single answer, or pin the mirror hostname in /etc/hosts on the Gitea host, which removes the multi-answer DNS race that the bypass depends on (side effect: DNS-based failover/load balancing for mirror sources is lost). Admins should also reduce exposure of migration and mirror error detail to non-privileged users where their workflow allows it, since the sensitive-information disclosure leg (CWE-209) relies on internal responses being surfaced in those error messages.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gitea is a Go-based self-hosted Git service whose repository migration and pull-mirror features shell out to Git to clone or fetch from a user-supplied remote URL. Before doing so, Gitea performs an egress/SSRF validation that resolves the hostname and blocks addresses considered unsafe, but the code validated a resolved address rather than pinning the connection to it, so a hostname returning multiple A/AAAA records can resolve to an allowed IP at check time and to an internal IP when Git connects (a time-of-check/time-of-use, multi-answer DNS resolution flaw, conceptually CWE-918 plus CWE-367). The assigned CWE-209 captures the disclosure leg of the issue: responses from the internal endpoint can be echoed back to the user inside migration or mirror error output. Upstream fixes land in Gitea 28.0.0 via PRs 39010 and 39426, which touch Git command error handling and the migration API router - for example adding explicit stderr prefixes for authentication failures, normalizing end-of-line characters, splitting multi-line Git stderr into lines before matching, removing the ErrMoreThanOne handling, and adjusting managed-remote error paths - consistent with tightening both remote-address handling and the error surface that leaked internal content. Version data from ENISA EUVD lists affected Gitea builds as ≤ 1.27.3, corrected in 28.0.0; no CPE string was supplied in the source data for this CVE.
Know when Gitea gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Authenticated low-priv user (PR:L) over the network (AV:N); the multi-answer DNS/TOCTOU race raises complexity (AC:H); SSRF reaches internal services beyond Gitea's authorization scope (S:C) with limited internal read and write (C:L/I:L).
Primary rating from Vendor (88ee5874-cf24-4952-aea0-31affedb7ff2).
CVSS VectorVendor: 88ee5874-cf24-4952-aea0-31affedb7ff2
Lifecycle Timeline
2DescriptionCVE.org
Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi
Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r
Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any
Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by
Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to rem
Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica
Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran
EUVD-2026-93909
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB