CVE-2026-58428: CWE-424 in Gitea Gitea Open Source Git Server
Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)
AI Analysis
Technical Summary
Gitea before version 1.27.0 contains a security flaw in its web release edit form where users with repository write permissions can rename release attachments to file extensions that are disallowed by the operator-configured allowlist. This happens because the web handler for editing releases fails to validate the file extensions against the allowed types before updating the database, unlike the API endpoint which performs this validation. This discrepancy allows an attacker to bypass the release attachment extension restrictions configured by the operator through the web interface, potentially leading to the upload or use of disallowed file types.
Potential 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.
Mitigation Recommendations
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.
CVE-2026-58428: CWE-424 in Gitea Gitea Open Source Git Server
Description
Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)
CVSS v3.1
Score 6.5medium
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 contains a security flaw in its web release edit form where users with repository write permissions can rename release attachments to file extensions that are disallowed by the operator-configured allowlist. This happens because the web handler for editing releases fails to validate the file extensions against the allowed types before updating the database, unlike the API endpoint which performs this validation. This discrepancy allows an attacker to bypass the release attachment extension restrictions configured by the operator through the web interface, potentially leading to the upload or use of disallowed file types.
Potential 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.
Mitigation Recommendations
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-25gq-j9jx-43pg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58428"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600abc9c2644c7f8fe2ccb
Added to database: 07/22/2026, 00:11:40 UTC
Last enriched: 08/14/2026, 12:58:20 UTC
Last updated: 09/07/2026, 10:52:09 UTC
Views: 56
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.