GHSA-393c-qgvj-3xph

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

At a glance

Published
Updated
CVE
CVE-2026-20897
Aliases
BIT-gitea-2026-20897, GHSA-rrq5-r9h5-pc7c, GO-2026-4363
CVSS_V4
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

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

PackageVersions
Go · github.com/go-gitea/giteaintroduced 0, fixed 1.25.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database