{"id":"CVE-2026-20897","aliases":["CVE-2026-20897","GHSA-393c-qgvj-3xph","BIT-GITEA-2026-20897","GHSA-rrq5-r9h5-pc7c","GO-2026-4363"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea no valida correctamente la propiedad del repositorio al eliminar bloqueos de Git LFS. Un usuario con acceso de escritura a un repositorio podría eliminar bloqueos LFS pertenecientes a otros repositorios.","source":"nvd"}],"published":"2026-01-22T22:01:51.508Z","modified":"2026-09-08T08:47:34.253Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-284","CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.25.3","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-opc-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.4"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c","tags":["broken-link","vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36344","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36349","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["article","release-notes","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20897","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432204","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20897","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.25.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-393c-qgvj-3xph","tags":["advisory"],"sources":["go"]}],"credits":["spingARbor"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-01-23T17:56:55.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-20897","url":"https://www.cve.org/CVERecord?id=CVE-2026-20897","licence":"CVE Terms of Use","modified":"2026-07-15T01:20:11.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-393c-qgvj-3xph","url":"https://github.com/advisories/GHSA-393c-qgvj-3xph","licence":"CC-BY-4.0","modified":"2026-02-03T03:08:43.732Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4363","url":"https://pkg.go.dev/vuln/GO-2026-4363","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:55.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-20897","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20897","licence":"Public domain","modified":"2026-07-15T02:18:24.600Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-20897","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-20897","licence":"Apache-2.0","modified":"2026-09-08T08:47:34.253Z"}],"updatedAt":"2026-11-25T22:59:13.082Z","epss":{"score":0.00455,"percentile":0.41182,"date":"2026-12-01T12:00:22.000Z"}}