CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-20897

Critical · CVSS 9.1

Gitea — Improper Authorization / Broken Object Level Authorization (BOLA) - LFS Lock Deletion without Repository Ownership Validation

CVSS
9.1
nvd
EPSS
KEV
No
Class
oss containerizable
CWE-284, CWE-639, CWE-639

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.

Search profile — drives PoC discovery

Symbols DeleteLFSLockLFS locklfs/locksVerifyLFSLockrepo ownershipwrite accessgit-lfsLFSLockdeleteLockRouterLFSLockLFSLockDeleteHandlerpull/36344pull/36349GHSA-rrq5-r9h5-pc7c
Keywords CVE-2026-20897Gitea LFS lock deletion unauthorizedGitea GHSA-rrq5-r9h5-pc7cGitea LFS lock repository ownership bypassGitea CWE-639 BOLA LFSGitea write access cross-repo LFS lock deleteGitea v1.25.4 LFS lock fixgo-gitea LFS lock authorization bypass PoCGitea LFS lock privilege escalationGitea improper authorization LFS
Versions: < 1.25.4

Affected packages

Bitnami gitea 0 → 1.25.4
Go code.gitea.io/gitea 0 → 1.25.4
Go github.com/go-gitea/gitea 0 → 1.25.4

References

Status: enriched · ingested 2026-06-27T06:00:38.000Z · profiled 2026-06-30T18:30:14.000Z