Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Gitea Composer registry over network
-
ExploitRequest private package source links
-
ExecutionMissing permission check returns data
-
ImpactHarvest internal source/repository metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 that the target Gitea instance (version ≤ 1.26.1) has the Composer package registry in use and hosting private or internal packages whose source links are the exposed data; against such a configuration the CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no user interaction and low complexity. Limiting factors: instances that do not use the Composer registry, or that host no private/internal packages, have nothing to leak; and despite PR:N in the provided vector, the 'insufficient permission checks' wording suggests exploitation may in practice require reaching authenticated registry endpoints, so a low-privilege account could be a de facto prerequisite - verify against the vendor advisory before assuming fully anonymous access. |
| Impact | The CVSS 3.0 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, score 8.2) portrays an easy, network-reachable, unauthenticated information disclosure with high confidentiality impact - a genuinely attractive profile because there are no complexity or interaction barriers. Counterbalancing signals lower the urgency: there is no CISA KEV listing (not confirmed actively exploited) and no public exploit code identified, so this is not currently a mass-exploitation event. The impact is disclosure of package source information rather than code execution or data destruction (I:L, A:N), which caps real-world severity below the 8.2 headline. One caveat worth verifying: the tag labels this an 'Authentication Bypass' and PR:N implies no authentication, yet 'insufficient permission checks' for 'private or internal' resources often implies an authenticated-but-under-privileged actor accessing another tenant's data - if exploitation actually requires a low-privilege account, effective PR would be PR:L and the real-world reach narrower than PR:N suggests. No EPSS score or SSVC decision data was provided in the input, so automatability and exploitation-status framing cannot be independently confirmed. |
| Exploit ScenarioDerived | An attacker with network access to a vulnerable Gitea instance queries the Composer package registry endpoints and receives source links for packages marked private or internal, without holding the permissions those resources require. This yields internal repository/source locations and package sourcing details that can inform further reconnaissance against the organization's private code. No public proof-of-concept was identified, and the low attack complexity (AC:L) means such requests require no special timing or preconditions once the endpoint is reachable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers read private or internal Composer package source links they should not be authorized to see, leaking internal repository/source metadata. The flaw is a missing-authorization (CWE-862) issue reported by the Gitea project itself and fixed in v1.26.2; no public exploit identified at time of analysis, and it is not listed in CISA KEV. With a CVSS 3.0 base score of 8.2 driven by high confidentiality impact, the practical effect is unauthorized disclosure of otherwise-private package sourcing information.
RemediationAI
Vendor-released patch: v1.26.2 - upgrade any Gitea instance at 1.26.1 or earlier to 1.26.2 or later, which contains the fix delivered in pull request https://github.com/go-gitea/gitea/pull/37610. Follow the vendor advisory GHSA-8qw8-rq86-9pc2 and the 1.26.2 release notes (https://blog.gitea.com/release-of-1.26.2/) for upgrade guidance. If immediate upgrade is not possible, reduce exposure by disabling the Composer package registry (or the packages feature entirely) in app.ini if it is not in active use, and by restricting network access to the /packages and Composer registry endpoints to trusted, authenticated users via a reverse proxy or firewall ACL; note the trade-off that disabling packages breaks Composer dependency resolution for legitimate consumers, and proxy-level restrictions may block valid CI/CD or developer clients. Because the leaked data is source metadata for private packages, also review whether any exposed internal repository locations warrant rotation of access or relocation after patching.
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, lightweight Git service written in Go that includes a built-in package registry supporting multiple ecosystems, including PHP's Composer. Composer resolves dependencies via package 'source' links (metadata pointing to the underlying repository/download location for a package). The root cause is classified as CWE-862 (Missing Authorization): the code path serving Composer package source links did not correctly enforce the visibility/permission model, so source information tied to private or internal packages was returned without validating that the requester was entitled to it. The affected component is the Gitea open source Git server (cpe:2.3:a:gitea:gitea_open_source_git_server), specifically its Composer package-registry handlers.
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:N/UI:N/S:U/C:H/I:L/A:N
Network-reachable registry disclosure with low complexity and no interaction (AV:N/AC:L/UI:N); pure confidentiality leak so C:H, I:N, A:N; PR:N kept per vendor vector though a low-privilege account may be required.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
DescriptionCVE.org
Gitea versions up to and including 1.26.1 have insufficient permission checks for Composer package source links, which can expose private or internal package source information.
Articles & Coverage 1
Executive ViewAI
Gitea versions up to 1.26.1 have a broken access control vulnerability in the Composer package registry that allows unauthorized disclosure of private package source links and internal repository metadata. This exposes organizations' internal dependency sourcing information to personnel who should not have access, with no public exploit currently identified. Organizations running affected Gitea versions should prioritize patching to prevent unauthorized visibility into internal package management infrastructure.
Apply vendor patch.
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
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
Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4. Rated high severity (CVSS 7.1), this vulnerab
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Important| 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-41635
GHSA-8qw8-rq86-9pc2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB