All vulnerabilities
CVE-2026-105268GHSA-96qg-qxxj-r8xq

Gitea issue attachment API allows changing comment attachments

Gitea Gitea
CVSS
4.3Medium
ExploitationNo 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
Fixed in28.1.0Fixed versionGitHub
Published6 Oct 2026Updated 7 Oct 2026CVE List

What fixes it

  • 28.1.0gitea.dev, goGitHubgo 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