CVE-2026-20897
published critical CVSS 3.1 · 9.1Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 through 1.25.3 · Other versions: unaffected | Affected | Not stated | Gitea |
| Red Hat | — | openshift-pipelines/pipelines-opc-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
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.
An access control flaw has been discovered in Gitea. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 through 1.25.3 (affected · semver)Default: unaffected | Gitea · cna |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- CWE-284 CWE-284: Improper Access Control
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-639 Authorization Bypass Through User-Controlled Key
References
8- https://access.redhat.com/security/cve/CVE-2026-20897
- Gitea v1.25.4 Release Blog Post https://blog.gitea.com/release-of-1.25.4/
- RHBZ#2432204 https://bugzilla.redhat.com/show_bug.cgi?id=2432204
- GitHub Pull Request #36344 https://github.com/go-gitea/gitea/pull/36344
- GitHub Pull Request #36349 https://github.com/go-gitea/gitea/pull/36349
- Gitea v1.25.4 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
Provider assertions
3Gitea · cna
Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
redhat-SADP · adp
gitea: Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e72ecb1c418e8788c6f9007744bb4d4becc5b766e6f694b427c656d73d174655
- Ingested
- 23 Sep 2026, 09:04:58 UTC
- Source record
- Official CVE record