CVE-2026-20897

CRITICAL9.1EPSS 0.02%

Gitea does not properly validate repository ownership when deleting Git LFS locks

Published: 1/23/2026Modified: 2/3/2026
Also known as:GHSA-393c-qgvj-3xphGHSA-rrq5-r9h5-pc7cBIT-gitea-2026-20897GO-2026-4363

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
osvCVSS 3.1CRITICAL9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References (10)