CVE-2026-28705: Improper Limitation of a Pathname to a Restricted Directory in Gitea Gitea Open Source Git Server
Gitea versions before 1.25.5 improperly handle release tag names and asset names as filesystem path components when dumping release assets. This allows specially crafted names to influence the output paths, potentially leading to unauthorized file system access or modification.
AI Analysis
Technical Summary
CVE-2026-28705 describes a vulnerability in Gitea Open Source Git Server where release tag names and asset names are used directly as filesystem path components during the dumping of release assets. Versions prior to 1.25.5 are affected. This improper limitation of pathname to a restricted directory can allow crafted names to affect dump output paths, which may lead to directory traversal or unauthorized file writes.
Potential Impact
The vulnerability allows an attacker to influence filesystem paths used by Gitea when dumping release assets. This could result in unauthorized file creation or modification outside intended directories, potentially compromising the integrity of the server's filesystem or enabling further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the affected versions are stated as before 1.25.5, upgrading to version 1.25.5 or later is likely recommended once confirmed by the vendor. Until then, avoid using untrusted release tag or asset names or restrict their usage in filesystem paths.
CVE-2026-28705: Improper Limitation of a Pathname to a Restricted Directory in Gitea Gitea Open Source Git Server
Description
Gitea versions before 1.25.5 improperly handle release tag names and asset names as filesystem path components when dumping release assets. This allows specially crafted names to influence the output paths, potentially leading to unauthorized file system access or modification.
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-28705 describes a vulnerability in Gitea Open Source Git Server where release tag names and asset names are used directly as filesystem path components during the dumping of release assets. Versions prior to 1.25.5 are affected. This improper limitation of pathname to a restricted directory can allow crafted names to affect dump output paths, which may lead to directory traversal or unauthorized file writes.
Potential Impact
The vulnerability allows an attacker to influence filesystem paths used by Gitea when dumping release assets. This could result in unauthorized file creation or modification outside intended directories, potentially compromising the integrity of the server's filesystem or enabling further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the affected versions are stated as before 1.25.5, upgrading to version 1.25.5 or later is likely recommended once confirmed by the vendor. Until then, avoid using untrusted release tag or asset names or restrict their usage in filesystem paths.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-03-03T03:25:28.526Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4820ff27e9c79719acc10e
Added to database: 07/03/2026, 20:52:15 UTC
Last enriched: 07/03/2026, 21:03:04 UTC
Last updated: 07/03/2026, 23:01:01 UTC
Views: 3
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.