{"cve":"CVE-2026-20897","nvd":{"published":"2026-01-22T22:16:18.960","modified":"2026-07-15T02:18:24.600","status":"Modified","description":"Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.","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"],"references":["https://blog.gitea.com/release-of-1.25.4/","https://github.com/go-gitea/gitea/pull/36344","https://github.com/go-gitea/gitea/pull/36349","https://github.com/go-gitea/gitea/releases/tag/v1.25.4","https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-20897","score":0.00455,"percentile":0.39485,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-393c-qgvj-3xph","url":"https://osv.dev/vulnerability/GHSA-393c-qgvj-3xph","summary":"Gitea does not properly validate repository ownership when deleting Git LFS locks","modified":"2026-02-03T03:08:43.732262Z","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-4363","url":"https://osv.dev/vulnerability/GO-2026-4363","summary":"Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea","modified":"2026-03-03T04:57:55.339967Z","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."]}