# CVE-2026-28705: Gitea repository dumps write release assets using unsafe path names

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-07-03T20:19:39.011Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-7jvx-g65v-r899, GO-2026-6337
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: before 1.25.5
- code.gitea.io/gitea (Go): before 1.25.5

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/go-gitea/gitea/pull/36799> (patch, web)
- <https://github.com/go-gitea/gitea/pull/36839> (patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.5> (release-notes, web)
- <https://blog.gitea.com/release-of-1.25.5/> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28705> (advisory)
- <https://github.com/go-gitea/gitea/commit/833304ac15bce17d0f03c4852af5f60c186f6a70> (web)
- <https://github.com/go-gitea/gitea/commit/f7ac5076711af3a260f3f98b2c1f8c19b32f6d09> (web)
- <https://blog.gitea.com/release-of-1.25.5> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-7jvx-g65v-r899> (advisory)

## Sources

- CVE List: [CVE-2026-28705](https://www.cve.org/CVERecord?id=CVE-2026-28705), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-7jvx-g65v-r899](https://github.com/advisories/GHSA-7jvx-g65v-r899), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6337](https://pkg.go.dev/vuln/GO-2026-6337), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-28705](https://nvd.nist.gov/vuln/detail/CVE-2026-28705), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-28705 · Whole record: https://cve.day/CVE-2026-28705.json · Rebuilt by cve.day 2026-11-25T22:59:27.117Z
