Vulnerability advisory
CVE-2026-28705
Gitea repository dumps write release assets using unsafe path names
Also known as GHSA-7jvx-g65v-r899GO-2026-6337
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f913d90ab664c1deccdfbe8c563abb13e897d62b | f913d90ab664c1deccdfbe8c563abb13e897d62b |
Also listed as affected (44)
| |
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.
References
- Advisoryblog.gitea.com/release-of-1.25.5/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28705.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-28705 ↗
- Fixgithub.com/go-gitea/gitea/pull/36799 ↗
- Fixgithub.com/go-gitea/gitea/pull/36839 ↗