CVE-2026-58507: CWE-284 in Gitea Gitea Open Source Git Server
Private Repository Existence Disclosure via go-get Meta Endpoint
AI Analysis
Technical Summary
Gitea before version 1.27.0 improperly handles the '?go-get=1' query parameter by bypassing authentication and authorization checks. This results in HTTP 200 responses containing go-import and go-source meta tags for private repositories, enabling unauthenticated attackers to confirm private repository existence, enumerate repository names, and harvest clone URLs and default branch names. The vulnerability is identified as CVE-2026-58507 and is categorized under CWE-200 (Information Exposure) and CWE-284 (Improper Access Control). The flaw impacts the code.gitea.io/gitea product and has a CVSS 3.1 score of 5.3 (medium severity).
Potential Impact
The vulnerability allows unauthenticated attackers to confirm the existence of private repositories and gather sensitive metadata such as repository names, clone URLs, and default branch names. This information disclosure could aid attackers in reconnaissance but does not directly allow modification or deletion of repository data. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for Gitea that fixes this issue in version 1.27.0 and later. Users should upgrade to version 1.27.0 or newer to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the official fix. No alternative mitigations are indicated by the vendor advisory.
CVE-2026-58507: CWE-284 in Gitea Gitea Open Source Git Server
Description
Private Repository Existence Disclosure via go-get Meta Endpoint
CVSS v3.1
Score 5.3medium
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
Gitea before version 1.27.0 improperly handles the '?go-get=1' query parameter by bypassing authentication and authorization checks. This results in HTTP 200 responses containing go-import and go-source meta tags for private repositories, enabling unauthenticated attackers to confirm private repository existence, enumerate repository names, and harvest clone URLs and default branch names. The vulnerability is identified as CVE-2026-58507 and is categorized under CWE-200 (Information Exposure) and CWE-284 (Improper Access Control). The flaw impacts the code.gitea.io/gitea product and has a CVSS 3.1 score of 5.3 (medium severity).
Potential Impact
The vulnerability allows unauthenticated attackers to confirm the existence of private repositories and gather sensitive metadata such as repository names, clone URLs, and default branch names. This information disclosure could aid attackers in reconnaissance but does not directly allow modification or deletion of repository data. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for Gitea that fixes this issue in version 1.27.0 and later. Users should upgrade to version 1.27.0 or newer to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the official fix. No alternative mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p4mj-98mv-xq26
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58507"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600abb9c2644c7f8fe2b86
Added to database: 07/22/2026, 00:11:39 UTC
Last enriched: 08/14/2026, 13:00:41 UTC
Last updated: 09/12/2026, 10:01:32 UTC
Views: 54
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.