{"schemaVersion":3,"id":"CVE-2026-78433","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-14T14:38:17.247Z","modified":"2026-10-18T13:35:37.544Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00369,"percentile":0.2958,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-15T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00369,"percentile":0.2958}],"last30":[{"date":"2026-10-15T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00369,"percentile":0.2958}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"},{"id":"CWE-1220","name":"Insufficient Granularity of Access Control","description":"The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1220.html"}],"affected":[{"vendor":"gitea","product":"gitea","name":"Gitea","label":"gitea","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.26.0, ≤ 1.27.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.26.0, ≤ 1.27.2","eol":null,"hubHref":"/vendor/gitea/gitea"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq","label":"github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://blog.gitea.com/release-of-1.27.3/","label":"blog.gitea.com/release-of-1.27.3/","hostname":"blog.gitea.com","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/pull/39048","label":"github.com/go-gitea/gitea/pull/39048","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39077","label":"github.com/go-gitea/gitea/pull/39077","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","label":"github.com/go-gitea/gitea/releases/tag/v1.27.3","hostname":"github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-14T14:38:17.247Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-18T13:35:37.544Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:26:11.945Z","stale":false,"partial":false}}