Bug 2573865 (CVE-2026-123065) - CVE-2026-123065 code.gitea.io/gitea: Gitea: Arbitrary attachment deletion via crafted release edit
Summary: CVE-2026-123065 code.gitea.io/gitea: Gitea: Arbitrary attachment deletion via...
Keywords:
Status: NEW
Alias: CVE-2026-123065
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 21:44 UTC by OSIDB Bzimport
Modified: 2026-11-16 23:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-16 21:44:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.