CVE-2026-58429: CWE-284 in Gitea Gitea Open Source Git Server
Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
AI Analysis
Technical Summary
CVE-2026-58429 is a vulnerability in Gitea affecting versions before 1.27.0. Personal access tokens restricted to the public-only scope can bypass intended access controls on organization and permission-related API endpoints. This is caused by inconsistent middleware enforcement and route-specific authorization failures, allowing retrieval of private organization membership and permission details for the token owner's account. Direct access to private organizations is blocked, but indirect endpoints such as user organization listings and permission queries do not consistently enforce the public-only restriction, exposing private data.
Potential Impact
An attacker with a personal access token scoped to public-only can access private organization membership and permission details indirectly via certain API endpoints. This exposure compromises confidentiality of private organization data related to the token owner's account. There is no indication of impact on data integrity or availability. No known exploits are reported in the wild.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Gitea to version 1.27.0 or later to remediate the issue. Since this is not a cloud service, remediation requires applying the patch on self-hosted instances. No additional mitigation steps are indicated.
CVE-2026-58429: CWE-284 in Gitea Gitea Open Source Git Server
Description
Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
CVSS v3.1
Score 4.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58429 is a vulnerability in Gitea affecting versions before 1.27.0. Personal access tokens restricted to the public-only scope can bypass intended access controls on organization and permission-related API endpoints. This is caused by inconsistent middleware enforcement and route-specific authorization failures, allowing retrieval of private organization membership and permission details for the token owner's account. Direct access to private organizations is blocked, but indirect endpoints such as user organization listings and permission queries do not consistently enforce the public-only restriction, exposing private data.
Potential Impact
An attacker with a personal access token scoped to public-only can access private organization membership and permission details indirectly via certain API endpoints. This exposure compromises confidentiality of private organization data related to the token owner's account. There is no indication of impact on data integrity or availability. No known exploits are reported in the wild.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Gitea to version 1.27.0 or later to remediate the issue. Since this is not a cloud service, remediation requires applying the patch on self-hosted instances. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fq2p-5p22-8g6j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58429"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600aa29c2644c7f8fdfca7
Added to database: 07/22/2026, 00:11:14 UTC
Last enriched: 08/14/2026, 12:58:27 UTC
Last updated: 09/03/2026, 10:52:10 UTC
Views: 68
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.