{"id":"CVE-2026-20912","aliases":["BIT-gitea-2026-20912","GHSA-4xx9-vc8v-87hv","GHSA-vfmv-f93v-37mw","GO-2026-4364"],"url":"https://o3.security/vulnerability/CVE-2026-20912","summary":"Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure","details":"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.","published":"2026-01-22T22:01:52.026Z","modified":"2026-08-12T03:51:43.766470223Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","fixedVersion":"1.25.4"}],"fix":{"url":"https://github.com/go-gitea/gitea/pull/36320","label":"go-gitea/gitea#36320"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-20912"},{"type":"ADVISORY","url":"https://blog.gitea.com/release-of-1.25.4/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20912.json"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20912"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432219"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/36320"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/36355"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:43.766470223Z"}}