CVE-2026-129341 Details
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.
A vulnerability in Gitea's web endpoint for removing attachments allows users to delete release assets they uploaded, even after losing write access to the repository. This issue arises because the endpoint skips necessary permission checks when the request comes from the original uploader, only requiring read access to issues or pull requests. As a result, a user can exploit this flaw to permanently delete release assets, breaking download links for all users and causing inconvenience to repository owners.
Users can upgrade to Gitea version 28.4.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 15, 2026CISA-ADP
Assessed Nov 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-28.4.0/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/40120 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/pull/40268 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/releases/tag/v28.4.0 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-jr33-w6w7-86vj | Gitea Limited | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | >= 1.11, <= 28.3.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 16, 2026 | CVE Modified | CISA-ADP |
| Nov 15, 2026 | New CVE Received | Gitea Limited |
Volerion