{"id":"CVE-2026-105268","title":"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","summary":"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 issu…","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","cwe":["CWE-639","CWE-863"],"vendor":"gitea","product":"gitea","affected":["gitea < 28.1.0"],"patched":["gitea 28.1.0"],"published":"2026-10-06","updated":"2026-10-13","sourceUpdated":"2026-10-13T14:38:35.583","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-105268","references":[{"url":"https://blog.gitea.com/release-of-28.1.0/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39501","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39507","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105268.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-105268"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105268"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00196,"epssPercentile":0.09223,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T16:09:19.965265Z"},"scores":{"nvd":4.3,"vendor":5.4,"adp":4.3},"ingestedAt":"2026-10-06T22:23:15.965Z","slug":"CVE-2026-105268","body":"## Overview\n\nThe 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.\n\n## Affected\n\n- `gitea < 28.1.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 28.1.0`\n\n## Vendor advisories\n\n- **Red Hat VEX** · updated 2026-10-07 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105268.json)","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":217634,"id":"CVE-2026-105268","ts":1791394891081,"field":"cvss","old":"5.4","new":"4.3"},{"seq":217103,"id":"CVE-2026-105268","ts":1791360683780,"field":"cvss","old":null,"new":"5.4"},{"seq":217102,"id":"CVE-2026-105268","ts":1791360683780,"field":"severity","old":"none","new":"medium"}]}