{"id":"CVE-2026-78433","state":"PUBLISHED","title":"Gitea private attachment disclosure through repository mismatch","description":"Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.","publishedAt":"2026-10-14T14:38:17.247Z","updatedAt":"2026-10-18T13:35:37.544Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.26.0","status":"affected","lessThanOrEqual":"1.27.2","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq","https://blog.gitea.com/release-of-1.27.3/","https://github.com/go-gitea/gitea/pull/39048","https://github.com/go-gitea/gitea/pull/39077","https://github.com/go-gitea/gitea/releases/tag/v1.27.3"],"weaknesses":["CWE-284","CWE-639","CWE-863","CWE-1220"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/78xxx/CVE-2026-78433.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-78433","state":"PUBLISHED","datePublished":"2026-10-14T14:38:17.247Z","dateUpdated":"2026-10-18T13:35:37.544Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-08-24T20:45:09.297Z"},"containers":{"cna":{"title":"Gitea private attachment disclosure through repository mismatch","descriptions":[{"lang":"en","value":"Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.26.0","status":"affected","lessThanOrEqual":"1.27.2","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq","name":"GitHub Security Advisory GHSA-frpv-2xgv-wxpq","tags":["vendor-advisory"]},{"url":"https://blog.gitea.com/release-of-1.27.3/","name":"Gitea 1.27.3 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/pull/39048","name":"Fix: go-gitea/gitea pull request #39048","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39077","name":"Fix: go-gitea/gitea pull request #39077","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","name":"go-gitea/gitea v1.27.3 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","type":"CWE","description":"CWE-284: Improper Access Control"},{"cweId":"CWE-639","lang":"en","type":"CWE","description":"CWE-639: Authorization Bypass Through User-Controlled Key"},{"cweId":"CWE-863","lang":"en","type":"CWE","description":"CWE-863: Incorrect Authorization"},{"cweId":"CWE-1220","lang":"en","type":"CWE","description":"CWE-1220: Insufficient Granularity of Access Control"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-10-14T14:38:17.247Z"},"credits":[{"lang":"en","value":"https://github.com/iabdullah215","type":"reporter"},{"lang":"en","value":"https://github.com/bircni","type":"remediation developer"},{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-18T13:35:32.390912Z","id":"CVE-2026-78433","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-18T13:35:37.544Z"}}]}}}