# CVE-2026-123065: Gitea deletion of arbitrary attachment files through release edit

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-17
- Record: https://cvemate.com/vulnerability/CVE-2026-123065 · JSON: https://cvemate.com/vulnerability/CVE-2026-123065/json

## Description

```text
When a release was edited, the files of the attachments to remove were deleted by the identifiers submitted in the form rather than by the attachments verified to belong to the release. A user with write access to the releases of any repository, including their own, could submit a crafted identifier that resolves to the stored file of another attachment and delete it, provided they know that attachment's UUID. The attachment record stayed, so downloads of the affected issue, comment or release file failed. Release edits now only delete the files of attachments that belong to the release.
```

## Signals

- CVSS: 5.7 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.328%, percentile 27.896%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: ≥ 1.15.0, \< 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-4p89-xcq8-xfhm>
- <https://github.com/go-gitea/gitea/pull/40120>
- <https://github.com/go-gitea/gitea/pull/40268>
- <https://blog.gitea.com/release-of-28.4.0/>
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0>

---

Data as of 2026-12-05T14:32:59.147Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
