NetSight
critical9.1

CVE-2026-20897

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

Impact

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

EcosystemPackageAffectedFixed in
gogithub.com/go-gitea/gitea< 1.25.41.25.4

Affected products

VendorProductAffected versions
GiteaGitea
before 1.25.4

Weakness classification

References