{"schema_version":"1.7.3","id":"GHSA-393c-qgvj-3xph","published":"2026-01-23T00:31:16Z","modified":"2026-02-03T03:08:43.732262Z","aliases":["BIT-gitea-2026-20897","CVE-2026-20897","GHSA-rrq5-r9h5-pc7c","GO-2026-4363"],"summary":"Gitea does not properly validate repository ownership when deleting Git LFS locks","details":"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.","affected":[{"package":{"name":"github.com/go-gitea/gitea","ecosystem":"Go","purl":"pkg:golang/github.com/go-gitea/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-393c-qgvj-3xph/GHSA-393c-qgvj-3xph.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20897"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36344"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36349"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.4"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4"}],"database_specific":{"cwe_ids":["CWE-284"],"github_reviewed":true,"github_reviewed_at":"2026-01-23T20:14:46Z","nvd_published_at":"2026-01-22T22:16:18Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}