Security mailing lists by PureSourceCode

CVE-2026-20897

CRITICAL 9.1CVSS 3.1

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

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.

Published
22 Jan 2026
Last modified
15 Jul 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Modified
Weakness
CWE-284CWE-639
Also known as
BIT-gitea-2026-20897GHSA-393c-qgvj-3xphGHSA-rrq5-r9h5-pc7cGO-2026-4363
Sources
NVDJSONOSV GHSA-393c-qgvj-3xphJSONOSV GO-2026-4363JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitea gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
< 1.25.4 1.25.4
OSV Go github.com/go-gitea/gitea < 1.25.4 1.25.4
OSV Go code.gitea.io/gitea < 1.25.4 1.25.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.