Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-scope Gitea API token
-
DeliveryIdentify private repository target
-
ExploitCraft RSS/Atom feed URL with token
-
ExecutionSend authenticated feed request
-
PersistFeed handler skips scope check
-
ImpactExtract private commit metadata from XML response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires possession of any valid Gitea API access token on the target instance, regardless of that token's configured scope; the CVSS PR:L metric confirms a low-privilege credential is sufficient. The attacker must be able to reach the Gitea instance's HTTP(S) feed endpoints over the network (AV:N). The targeted repository must be private - public repositories carry no confidentiality expectation. No special server-side configuration is required; the bypass is present in the default Gitea deployment for all versions through 1.26.2. Exploitation is constrained by the requirement to possess a legitimately issued token for that Gitea instance; truly unauthenticated external actors cannot exploit this vulnerability. Impact is further limited to read-only access to commit metadata (C:L, I:N, A:N) - no code execution, write access, or denial of service is possible through this vector. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N encapsulates a low-complexity, network-reachable flaw requiring only low-privilege authentication, with limited confidentiality impact and no integrity or availability consequences. Real-world risk is moderate-to-low: exploitation demands a valid API token for the Gitea instance, meaning it is primarily a threat from insider actors, token-sharing misconfigurations, or compromised low-scope tokens rather than from external unauthenticated attackers. The information exposed is commit metadata (messages, authors, timestamps) from private repositories - sensitive in contexts where repository contents are confidential, but not a full data exfiltration path. No EPSS data was provided in the input; the base rate for this class of scoped-token bypass in niche self-hosted services is typically low. The absence of a KEV listing and any public POC further limits the urgency tier, though organizations with strict data confidentiality requirements around private repository history should treat this as a priority patch. |
| Exploit ScenarioDerived | An attacker who holds a valid Gitea API token scoped only to, for example, issue tracking or organization access requests the RSS or Atom feed URL of a private repository they are not authorized to read. The feed endpoint skips the repository-scope check and returns an XML document containing commit messages, author identities, commit timestamps, and branch references - leaking development activity from a repository the token was never intended to access. No public POC has been identified, but the attack path requires no special tooling beyond a standard HTTP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Gitea's repository RSS and Atom feed endpoints fail to enforce API token scope checks, exposing private repository commit metadata to any holder of a valid but under-privileged API token. Versions up to and including 1.26.2 are affected; the flaw is classified as CWE-863 (Incorrect Authorization) with a CVSS score of 4.3. No public exploit code or CISA KEV listing exists at time of analysis; vendor-released patches are available in v1.26.3 and v1.26.4.
RemediationAI
Upgrade Gitea to version 1.26.3 or later (1.26.4 is also available per the vendor blog); both releases contain the scope enforcement fix introduced in https://github.com/go-gitea/gitea/pull/38147. Release artifacts and changelogs are available at https://github.com/go-gitea/gitea/releases/tag/v1.26.3 and https://blog.gitea.com/release-of-1.26.3-and-1.26.4/. For instances where immediate upgrade is not possible, a compensating control is to block or restrict access to the feed endpoints (typically /[user]/[repo].rss and /[user]/[repo].atom) via a reverse proxy or WAF rule - this prevents the bypass entirely but also disables legitimate RSS/Atom feed consumption. Administrators should also audit all active API tokens to ensure minimum-scope issuance, reducing the utility of any token that might be used to exploit this flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, 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 self-hosted, open source Git service written in Go, widely used by development teams as a lightweight alternative to GitHub Enterprise or GitLab. Repository RSS and Atom feeds are standard syndication endpoints that expose commit history in XML format. The root cause, CWE-863 (Incorrect Authorization), indicates that the authorization logic governing these feed endpoints does not validate whether the presenting API token carries the repository scope permission - a scope-specific check enforced elsewhere in the API surface. The affected CPE is cpe:2.3:a:gitea:gitea_open_source_git_server:*:*:*:*:*:*:*:*, covering all Gitea Open Source Git Server releases through 1.26.2. The fix was introduced via pull request https://github.com/go-gitea/gitea/pull/38147, which corrects the missing scope enforcement in the feed handler.
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
Network-reachable feed endpoint requires only a low-privilege token (PR:L); scope bypass yields commit metadata only (C:L), with no integrity or availability impact.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
DescriptionCVE.org
Gitea versions up to and including 1.26.2 allow repository RSS and Atom feed endpoints to bypass API access token scope checks, exposing private repository commit data to tokens without the required repository scope.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-41634
GHSA-3pww-vcvm-3gmj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB