{"api_version":"1","generated_at":"2026-10-07T17:10:11+00:00","cve":"CVE-2026-105268","urls":{"html":"https://cve.report/CVE-2026-105268","api":"https://cve.report/api/cve/CVE-2026-105268.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-105268","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-105268"},"summary":{"title":"Gitea issue attachment API allows changing comment attachments","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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-10-06 22:17:02","updated_at":"2026-10-07 13:45:36"},"problem_types":["CWE-639","CWE-863","CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key","CWE-863 CWE-863: Incorrect Authorization"],"metrics":[],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq","name":"https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/39501","name":"https://github.com/go-gitea/gitea/pull/39501","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","name":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/39507","name":"https://github.com/go-gitea/gitea/pull/39507","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://blog.gitea.com/release-of-28.1.0/","name":"https://blog.gitea.com/release-of-28.1.0/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105268","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105268","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea","version":"affected 28.0.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"https://github.com/N0K0","lang":"en"},{"source":"CNA","value":"https://github.com/silverwind","lang":"en"},{"source":"CNA","value":"https://github.com/bircni","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"gitea.dev","product":"Gitea","vendor":"Gitea","versions":[{"lessThanOrEqual":"28.0.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"https://github.com/N0K0"},{"lang":"en","type":"remediation developer","value":"https://github.com/silverwind"},{"lang":"en","type":"remediation developer","value":"https://github.com/bircni"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"},{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-06T21:35:40.926Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Security Advisory GHSA-96qg-qxxj-r8xq","tags":["vendor-advisory"],"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq"},{"name":"Fix: go-gitea/gitea pull request #39501","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/39501"},{"name":"Fix backport to release/v28: go-gitea/gitea pull request #39507","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/39507"},{"name":"Gitea 28.1.0 release announcement","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-28.1.0/"},{"name":"go-gitea/gitea v28.1.0 release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0"}],"title":"Gitea issue attachment API allows changing comment attachments"}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-105268","datePublished":"2026-10-06T21:35:40.926Z","dateReserved":"2026-10-04T22:02:04.877Z","dateUpdated":"2026-10-06T21:35:40.926Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-06 22:17:02","lastModifiedDate":"2026-10-07 13:45:36","problem_types":["CWE-639","CWE-863","CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key","CWE-863 CWE-863: Incorrect Authorization"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"105268","Ordinal":"1","Title":"Gitea issue attachment API allows changing comment attachments","CVE":"CVE-2026-105268","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"105268","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea issue attachment API allows changing comment attachments"}]}}}