{"id":"GHSA-4xx9-vc8v-87hv","revision":"134edb535db54518a2c1800478c6f0cc","records":[{"revision":"134edb535db54518a2c1800478c6f0cc","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4xx9-vc8v-87hv","aliases":["BIT-gitea-2026-20912","CVE-2026-20912","GHSA-vfmv-f93v-37mw","GO-2026-4364"],"title":"Gitea does not properly validate repository ownership when linking attachments to releases","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.","state":0,"publishedAt":"2026-01-23T00:31:17+00:00","modifiedAt":"2026-02-03T03:08:45.128827+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-20912","https://github.com/go-gitea/gitea/pull/36320","https://github.com/go-gitea/gitea/pull/36355","https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30","https://blog.gitea.com/release-of-1.25.4","https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/releases/tag/v1.25.4"],"sourceUrl":"https://github.com/advisories/GHSA-4xx9-vc8v-87hv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4xx9-vc8v-87hv","identifiers":["GHSA-4xx9-vc8v-87hv","BIT-gitea-2026-20912","CVE-2026-20912","GHSA-vfmv-f93v-37mw","GO-2026-4364"]},"retained":false,"historicalAffected":[]}],"coverage":[]}