CVE-2026-129341
Description
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.
How to fix
- Gitea Gitea28.4.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Gitea | 1.11.0 ≤ v < 28.4.0 | 28.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.