CVE-2026-20897

medium

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c

https://github.com/go-gitea/gitea/releases/tag/v1.25.4

https://github.com/go-gitea/gitea/pull/36349

https://github.com/go-gitea/gitea/pull/36344

https://blog.gitea.com/release-of-1.25.4/

Details

Source: Mitre, NVD

Published: 2026-01-22

Updated: 2026-01-23

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.1

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

Severity: Critical

CVSS v4

Base Score: 5.3

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

Severity: Medium

EPSS

EPSS: 0.00017