Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.1.0 |
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-28.1.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39501Patch
- https://github.com/go-gitea/gitea/pull/39507Patch
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xqVendor Advisory
FAQ
What is CVE-2026-105268?
CVE-2026-105268 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 ...
How severe is CVE-2026-105268?
CVE-2026-105268 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-105268?
Check the references section above for vendor advisories and patch information. Affected products include: Gitea Gitea.