Skip to main content

Gitea EUVDEUVD-2026-93909

| CVE-2026-101029 MEDIUM
Error Message Information Leak (CWE-209)
2026-10-06 88ee5874-cf24-4952-aea0-31affedb7ff2
4.3
CVSS 3.1 · Vendor: 88ee5874-cf24-4952-aea0-31affedb7ff2
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Create migration pointing at attacker DNS host
  3. Exploit
    Validated address differs from connected address
  4. Execution
    Server reaches internal Git/HTTP endpoints
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Gitea 0 ≤1.27.3

Affected Packages

euvd gitea no fix

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

Vendor (88ee5874-cf24-4952-aea0-31affedb7ff2) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (88ee5874-cf24-4952-aea0-31affedb7ff2).

CVSS VectorVendor: 88ee5874-cf24-4952-aea0-31affedb7ff2

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 07, 2026 - 21:23 NVD
4.3 (MEDIUM)
CVE Published
Oct 06, 2026 - 20:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular self-hosted Git service, common but not ubiquitous enterprise-wide
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Gitea

View all
CVE-2026-60004 CRITICAL POC
9.8

Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi

CVE-2026-27771 HIGH POC
8.2 Jul 03

Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r

CVE-2022-30781 HIGH POC
7.5 May 16

Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp

CVE-2020-14144 HIGH POC
7.2 Oct 16

The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir

CVE-2024-6886 CRITICAL POC
10.0 Aug 06

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

CVE-2026-20896 CRITICAL POC
9.8 Jul 03

Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any

CVE-2026-59774 CRITICAL POC
9.8

Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by

CVE-2026-58053 CRITICAL POC
9.4 Jun 28

Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec

CVE-2019-11229 HIGH POC
8.8 Apr 15

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

CVE-2026-57894 HIGH POC
8.5 Jul 21

Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica

CVE-2026-24791 HIGH POC
8.1 Jun 17

Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy