{"id":"CVE-2026-20912","published":"2026-01-22T22:01:52Z","modified":"2026-07-15T01:20:07Z","title":"Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00687,"percentile":0.4795,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-283","name":"Unverified Ownership"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/36320","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/36355","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["release-notes"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20912","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432219","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.59},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["<= 1.25.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-23T17:51:12.073308Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","vulnerableRanges":["<1.25.4"],"patched":["1.25.4"],"from":["GHSA-4xx9-vc8v-87hv"],"provenance":"source"},{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.25.4"],"patched":["1.25.4"],"from":["GO-2026-4364"],"provenance":"source"}],"summary":{"text":"Gitea Open Source Git Server fails to properly verify repository ownership when attachments are linked to releases, allowing an attachment from a private repository to be attached to a release in a different repository. An attacker with network access and no privileges or user interaction could exploit this to expose private attachments to unauthorized users, though the attack depends on the attacker being able to reach a public repository's release-attachment linking functionality.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:20Z"},"euvd":{"id":"EUVD-2026-4263","exploited":false,"provenance":"source"}}