CVE-2026-28705
published medium CVSS 3.1 · 5.3Gitea repository dumps write release assets using unsafe path names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 to < 1.25.5 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
Gitea versions before 1.25.5 use release tag names and asset names as filesystem path components when dumping release assets, allowing specially crafted names to affect dump output paths.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 to < 1.25.5 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
4- Gitea v1.25.5 Release Blog Post https://blog.gitea.com/release-of-1.25.5/
- GitHub Pull Request #36799 https://github.com/go-gitea/gitea/pull/36799
- GitHub Pull Request #36839 https://github.com/go-gitea/gitea/pull/36839
- Gitea v1.25.5 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.5
Provider assertions
2Gitea · cna
Gitea repository dumps write release assets using unsafe path names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b586ec384aeebed166d17372bfa95bb771004b03051144af435065f141549c6
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record