---
cve: "CVE-2026-20897"
severity: "CRITICAL"
cvss: 9.1
epss: "0.5%"
vendor: "Gitea"
kev: false
exploited: false
published: "2026-01-22 22:16:18"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-24T16:15:25+02:00"
---

# CVE-2026-20897

> 9.1 CRITICAL · 🧪 PoC

## Beschreibung

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.

## CNA-Record (Kanon, cvelistV5)

- CNA: **Gitea**
- State: PUBLISHED
- Stand: 2026-07-15 01:20:11

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **yes**
  - Technical Impact: **total**

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Schwachstellen-Klasse

- **CWE-639** — Authorization Bypass Through User-Controlled Key
  The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

## Patch verfügbar (OSV)

- 369830bada2fd8826a5135cb2fc66660a9bef708 (Commit)

## BSI-Hinweise (deutsch)

- [Gitea: Mehrere Schwachstellen](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2026-0200) — _BSI-Einstufung: hoch_
  Ein Angreifer kann mehrere Schwachstellen in Gitea ausnutzen, um Informationen offenzulegen, und um Sicherheitsvorkehrungen zu umgehen.

## Referenzen

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c>
- <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://blog.gitea.com/release-of-1.25.4/>
- <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>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2026-20897/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
