CVE-2026-105268GHSA-96qg-qxxj-r8xq
Gitea issue attachment API allows changing comment attachments
Gitea Gitea
CVSS
4.3MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 8% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 28.1.0gitea.dev, goGitHub
go get gitea.dev@v28.1.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- Giteaaffected: all versions through 28.0.0CVE List
- gitea.dev, go<= 28.0.0GitHub
References 5
- github.com/go-gitea/gitea/pull/39501Fixvia CVE List
- github.com/go-gitea/gitea/pull/39507Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v28.1.0Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xqAdvisoryvia CVE List
- blog.gitea.com/release-of-28.1.0/Referencevia CVE List