CVE-2026-123065
Gitea deletion of arbitrary attachment files through release edit
CVSS Score
5.7
EPSS Score
0.2%
EPSS Percentile
15th
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.
| CWE | CWE-22 CWE-639 |
| Vendor | gitea |
| Product | gitea |
| Published | Nov 15, 2026 |
| Last Updated | Nov 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitea gitea
Be the first to know when new medium vulnerabilities affecting gitea gitea are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Gitea / Gitea
1.15.0 < 28.4.0
References
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-4p89-xcq8-xfhm github.com: https://github.com/go-gitea/gitea/pull/40120 github.com: https://github.com/go-gitea/gitea/pull/40268 blog.gitea.com: https://blog.gitea.com/release-of-28.4.0/ github.com: https://github.com/go-gitea/gitea/releases/tag/v28.4.0
Credits
๐ https://github.com/HexDump0 ๐ https://github.com/ivantsepp https://github.com/silverwind