CVE-2026-123065
5.7medium
Gitea deletion of arbitrary attachment files through release edit
- Severity
- 5.7medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | from 1.15.0 before 28.4.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123065 changed 2026-11-17 | CVE Terms of Use |
| NVD | CVE-2026-123065 changed 2026-11-17 | Public domain |