CVE-2026-20897
CVE-2026-20897 is a critical-severity vulnerability in Gitea with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-284.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 0% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-4264
- Weakness: CWE-284
- Affected product: Gitea
- Published:
- Last 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.
Frequently asked questions
- What is CVE-2026-20897?
- 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.
- How severe is CVE-2026-20897?
- CVE-2026-20897 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-20897 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-20897?
- CVE-2026-20897 affects Gitea. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-20897?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-20897 have an EU (EUVD) identifier?
- Yes. CVE-2026-20897 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-4264.
- When was CVE-2026-20897 published?
- CVE-2026-20897 was published on 2026-01-22 and last updated on 2026-07-15.
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
- https://access.redhat.com/security/cve/CVE-2026-20897
- https://bugzilla.redhat.com/show_bug.cgi?id=2432204
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
Affected products (1)
- cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
More vulnerabilities in Gitea
- CVE-2026-94205 — Critical (CVSS 9.8): Gitea Actions decided whether a fork pull request run needed approval based on the user who triggered the event rather…
- CVE-2026-73278 — Critical (CVSS 9.8): Gitea's OAuth2 and OpenID Connect sign-in paths do not require a WebAuthn challenge when WebAuthn is the account's only…
- CVE-2026-60004 — Critical (CVSS 9.8): Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- CVE-2022-42968 — Critical (CVSS 9.8): Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
- CVE-2021-45331 — Critical (CVSS 9.8): An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges.…
- CVE-2021-45330 — Critical (CVSS 9.8): An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies…
Other CWE-284 (Improper Access Control) vulnerabilities
- CVE-2026-91500 — Critical (CVSS 10.0): Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: Authentication Engine).…
- CVE-2026-91299 — Critical (CVSS 10.0): Vulnerability in the JD Edwards EnterpriseOne Orchestrator product of Oracle JD Edwards (component: E1 IOT Orchestrator…
- CVE-2026-91221 — Critical (CVSS 10.0): Vulnerability in the Oracle SOA Suite product of Oracle Fusion Middleware (component: Fabric Layer). Supported…
- CVE-2026-101809 — Critical (CVSS 10.0): Vulnerability in the Workflow product of Oracle E-Business Suite (component: Workflow Notification Mailer). Supported…
- CVE-2026-83944 — Critical (CVSS 10.0): Improper access control in Azure Logic Apps allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-20192 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Identity Services Engine…
Browse all CWE-284 (Improper Access Control) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 103.177.78.20 (ipv4-addr)
- 117.24.243.99 (ipv4-addr)
- 67.215.227.54 (ipv4-addr)
- 59.12.116.210 (ipv4-addr)
- 46.101.176.4 (ipv4-addr)
- 1.94.4.74 (ipv4-addr)
- 223.223.177.99 (ipv4-addr)
- 94.5.100.58 (ipv4-addr)