{"cve":"CVE-2026-20912","nvd":{"published":"2026-01-22T22:16:19.297","modified":"2026-07-15T02:18:24.963","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-284","CWE-639","CWE-283"],"references":["https://blog.gitea.com/release-of-1.25.4/","https://github.com/go-gitea/gitea/pull/36320","https://github.com/go-gitea/gitea/pull/36355","https://github.com/go-gitea/gitea/releases/tag/v1.25.4","https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-20912","score":0.00455,"percentile":0.39485,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4xx9-vc8v-87hv","url":"https://osv.dev/vulnerability/GHSA-4xx9-vc8v-87hv","summary":"Gitea does not properly validate repository ownership when linking attachments to releases","modified":"2026-02-03T03:08:45.128827Z","packages":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","ranges":["<1.25.4"],"fixed":["1.25.4"]}]},{"id":"GO-2026-4364","url":"https://osv.dev/vulnerability/GO-2026-4364","summary":"Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea","modified":"2026-03-03T04:57:55.747880Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.25.4"],"fixed":["1.25.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}