Bug 2573858 (CVE-2026-129341) - CVE-2026-129341 code.gitea.io/gitea: Gitea: unauthorized deletion of attachments via missing permission check
Summary: CVE-2026-129341 code.gitea.io/gitea: Gitea: unauthorized deletion of attachme...
Keywords:
Status: NEW
Alias: CVE-2026-129341
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:15 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:19 UTC
The web endpoint that removes an attachment skipped the permission check when the request came from the user who had uploaded the attachment, and it was reachable with read access to issues or pull requests. A user who had uploaded a release asset could still delete it after losing write access to the repository. The endpoint now only deletes attachments that the user uploaded and that are not yet linked to an issue, comment or release.


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