Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-20897 BIT-gitea-2026-20897EUVD-2026-4264GHSA-393c-qgvj-3xphGHSA-rrq5-r9h5-pc7cGO-2026-4363

Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)

Published Jan 22, 2026 · Updated Jul 15, 2026 · Assigned by Gitea

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 products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server ≤ 1.25.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260205T172317-150000.1.146.1 SUSE-SU-2026:0403-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.25.4 1.25.4 GO-2026-4363
Go github.com/go-gitea/gitea < 1.25.4 1.25.4 GHSA-393c-qgvj-3xph

Advisories 3

References