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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-393c-qgvj-3xph Gitea does not properly validate repository ownership when deleting Git LFS locks
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 27 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Critical


Fri, 23 Jan 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Jan 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Thu, 22 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
Weaknesses CWE-284
CWE-639
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-01-23T21:54:06.525Z

Reserved: 2026-01-08T23:02:37.525Z

Link: CVE-2026-20897

cve-icon Vulnrichment

Updated: 2026-01-23T17:56:49.022Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-22T22:16:18.960

Modified: 2026-01-26T15:04:14.850

Link: CVE-2026-20897

cve-icon Redhat

Severity : Critical

Publid Date: 2026-01-22T22:01:51Z

Links: CVE-2026-20897 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-01-23T10:27:25Z

Weaknesses