freenode

← CVE tracker

CVE-2026-123065

Gitea deletion of arbitrary attachment files through release edit

Severity
medium CVSS 5.7 (v3.1)
Affects
Gitea
Weakness
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
15 November 2026 by Gitea
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.