Advisory

GHSA-393c-qgvj-3xph

Also known as: BIT-gitea-2026-20897, CVE-2026-20897, GHSA-rrq5-r9h5-pc7c, GO-2026-4363

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-23 00:31 UTC
Modified
2026-02-03 03:08 UTC

Affected packages and fixes

github.com/go-gitea/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.25.4 (semver)

Fixed versions

1.25.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences