CVE-2026-58444: CWE-863 in Gitea Gitea Open Source Git Server
Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
AI Analysis
Technical Summary
Gitea before version 1.27.0 has a security flaw (CVE-2026-58444) in which personal access tokens or OAuth2 tokens without the 'repository' scope can bypass token scope enforcement on the repository home page endpoint (GET /{owner}/{repo}). This bypass results in unauthorized disclosure of private repository metadata and content including rendered README files, file trees, repository descriptions, language statistics, license details, and latest release information. The vulnerability is due to missing scope checks on this route, while other repository content routes correctly enforce token scope restrictions.
Potential Impact
An attacker with a personal access token or OAuth2 token lacking the 'repository' scope can access private repository information that should be restricted. The disclosed information includes repository metadata and content such as README files, file trees, descriptions, language statistics, licenses, and release information. This leads to confidentiality loss of private repository data but does not affect integrity or availability.
Mitigation Recommendations
A patch is available that fixes this scope enforcement bypass in Gitea version 1.27.0. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until patched, avoid using personal access tokens or OAuth2 tokens without the required 'repository' scope to access repository home pages. No other specific mitigations are indicated.
CVE-2026-58444: CWE-863 in Gitea Gitea Open Source Git Server
Description
Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
CVSS v3.1
Score 4.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea before version 1.27.0 has a security flaw (CVE-2026-58444) in which personal access tokens or OAuth2 tokens without the 'repository' scope can bypass token scope enforcement on the repository home page endpoint (GET /{owner}/{repo}). This bypass results in unauthorized disclosure of private repository metadata and content including rendered README files, file trees, repository descriptions, language statistics, license details, and latest release information. The vulnerability is due to missing scope checks on this route, while other repository content routes correctly enforce token scope restrictions.
Potential Impact
An attacker with a personal access token or OAuth2 token lacking the 'repository' scope can access private repository information that should be restricted. The disclosed information includes repository metadata and content such as README files, file trees, descriptions, language statistics, licenses, and release information. This leads to confidentiality loss of private repository data but does not affect integrity or availability.
Mitigation Recommendations
A patch is available that fixes this scope enforcement bypass in Gitea version 1.27.0. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until patched, avoid using personal access tokens or OAuth2 tokens without the required 'repository' scope to access repository home pages. No other specific mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cp3q-vrj2-ghhh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58444"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600ab79c2644c7f8fe24f3
Added to database: 07/22/2026, 00:11:35 UTC
Last enriched: 08/14/2026, 13:00:18 UTC
Last updated: 09/10/2026, 19:36:55 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.