Bug 2547228 (CVE-2026-105268) - CVE-2026-105268 code.gitea.io/gitea: Gitea: Unauthorized deletion and renaming of comment attachments via issue attachment API
Summary: CVE-2026-105268 code.gitea.io/gitea: Gitea: Unauthorized deletion and renamin...
Keywords:
Status: NEW
Alias: CVE-2026-105268
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-10-06 21:52 UTC by OSIDB Bzimport
Modified: 2026-10-07 04:36 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 21:52:46 UTC
The Gitea API routes for issue attachments (`/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}`) also accepted attachments that belong to comments on the issue. Because the author of an issue may edit and delete the issue's attachments, a user who opened an issue could rename or delete attachments that other users had posted in comments on that issue. The contents of the attachments could not be changed.


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