CVE-2026-58428: Gitea Open Source Git Server · CWE-424
Affects Gitea Gitea Open Source Git ServerSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.5 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 39% 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:L/PR:L/UI:N/S:U/C:N/I:H/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
A patch is available that fixes this issue by ensuring the web release edit form validates attachment file extensions against the allowlist before updating the database. Users should upgrade to Gitea version 1.27.0 or later to remediate this vulnerability.
Description
Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)
Impact
The vulnerability allows users with repository write permissions to bypass configured restrictions on release attachment file extensions via the web interface. While it does not directly impact confidentiality or availability, it can lead to integrity issues by allowing disallowed file types to be associated with releases. This could facilitate the distribution of malicious or unauthorized files within the repository context.
Weaknesses
- CWE-424Improper Protection of Alternate Path (opens in a new tab)
Class weaknessOWASP Top 10 A01:2025: Broken Access Control (opens in a new tab)
The product does not sufficiently protect all possible paths that a user can take to access restricted functionality or resources.
- CWE-434Unrestricted Upload of File with Dangerous Type (opens in a new tab)
Base weaknessLikelihood of exploit: MediumCWE Top 25 (2025): #12OWASP Top 10 A06:2025: Insecure Design (opens in a new tab)
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-25gq-j9jx-43pg (opens in a new tab)
- github.com/go-gitea/gitea/pull/38406 (opens in a new tab)
- github.com/go-gitea/gitea/pull/38426 (opens in a new tab)
- github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31 (opens in a new tab)
- github.com/go-gitea/gitea/commit/f69e15afe7496cc62e96dab244629c69eb31a7bf (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)