Auth bypass in Gitea
CVE-2026-129341
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.
Vulnerability class: Broken Access Control
Published · last modified .
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/go-gitea/gitea/security/advisories/GHSA-jr33-w6w7-86vj (vendor-advisory)
- github.com/go-gitea/gitea/pull/40120 (patch)
- github.com/go-gitea/gitea/pull/40268 (patch)
- blog.gitea.com/release-of-28.4.0/ (release-notes)
- github.com/go-gitea/gitea/releases/tag/v28.4.0 (release-notes)