CVE-2026-58432: Gitea Open Source Git Server · Information Exposure
Affects Gitea Gitea Open Source Git ServerSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium · fixed in 1.27.0 : update Gitea Open Source Git Server when convenient.
Data as of 10/25/2026, 16:58:56 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.27.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wild: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gocode.gitea.io/gitea | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official patch is available in Gitea version 1.27.0 that fixes this authorization bypass. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until patched, restrict access to UUIDs of draft release attachments and avoid sharing them publicly.
Description
Missing Authorization and Authorization Bypass Through User-Controlled Key and Incorrect Permission Assignment for Critical Resource and Exposure of Sensitive Information to an Unauthorized Actor in code.gitea.io/gitea
Impact
Unauthorized users can access and download draft release attachments if they obtain the UUID, potentially exposing sensitive information not intended for public release. The vulnerability does not allow modification or deletion, only unauthorized read access to draft attachments. There are no known exploits in the wild at this time.
Summary
Gitea before version 1.27.0 has an authorization bypass vulnerability (CVE-2026-58432) affecting draft release attachments. While draft releases are hidden from listings and API queries, the web-level UUID-based URLs for attachments do not enforce draft status checks. The web handler only verifies read permissions on the repository but fails to confirm if the release is a draft, allowing anyone with the UUID to access and download draft attachments. This discrepancy between API and web endpoint authorization leads to unauthorized disclosure of potentially sensitive draft release data. The vulnerability has a CVSS 3.1 score of 5.9 (medium severity) and is patched in version 1.27.0.
Weaknesses
- CWE-200Exposure of Sensitive Information to an Unauthorized Actor (opens in a new tab)
Class weaknessLikelihood of exploit: HighCWE Top 25 (2025): #20OWASP Top 10 A01:2025: Broken Access Control (opens in a new tab)
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.
- CWE-639Authorization Bypass Through User-Controlled Key (opens in a new tab)
Base weaknessLikelihood of exploit: HighCWE Top 25 (2025): #24OWASP Top 10 A01:2025: Broken Access Control (opens in a new tab)
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
- CWE-732Incorrect Permission Assignment for Critical Resource (opens in a new tab)
Class weaknessLikelihood of exploit: HighOWASP Top 10 A01:2025: Broken Access Control (opens in a new tab)
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
- CWE-862Missing Authorization (opens in a new tab)
Class weaknessLikelihood of exploit: HighCWE Top 25 (2025): #4OWASP Top 10 A01:2025: Broken Access Control (opens in a new tab)
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-q9pg-jj6x-j9p6 (opens in a new tab)
- github.com/go-gitea/gitea/pull/38318 (opens in a new tab)
- github.com/go-gitea/gitea/pull/38325 (opens in a new tab)
- github.com/go-gitea/gitea/commit/ab10e37acf7fabf7829a485cc3e13d118638a856 (opens in a new tab)
- github.com/go-gitea/gitea/commit/f7fd51022495737cf960b8c4053a27d69148f664 (opens in a new tab)
- github.com/go-gitea/gitea (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.27.0 (opens in a new tab)
- blog.gitea.com/gitea-1.27.0-is-released/ (opens in a new tab)