Permission Bypass in Gitea's Attachment Management Functionality
CVE-2026-129341
Currently unrated
What is CVE-2026-129341?
A security flaw in Gitea's attachment management system allows users to delete attachments they uploaded, even after losing write permissions to the repository. This vulnerability is triggered when an endpoint fails to verify user permissions, allowing unauthorized users to remove attachments when accessing issues or pull requests. The system now restricts deletion to attachments that the user uploaded and ensures they are not associated with any issues, comments, or releases.
Affected Version(s)
Gitea 1.11.0 < 28.4.0
