Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-120725: Gitea allows unauthenticated download of LFS files

CVE-2026-120725 · published 6 days ago
Summary

When Gitea is set to require sign‑in to view the site, the Large File Storage (LFS) service could still be accessed without logging in. Anyone who knows a repository's path and the file's hash could retrieve the file or check if it exists. Updating Gitea to the latest version or applying the provided patch will make the LFS endpoints require authentication as intended.

What to do
  • Update gitea gitea to version 28.4.0 or later.
Affected software
VendorProductAffected versions
gitea gitea < 28.4.0
Original advisory text
Gitea anonymous Git LFS access despite required sign-in
With `REQUIRE_SIGNIN_VIEW = true`, the Git LFS endpoints still answered unauthenticated requests for repositories that are not private. An anonymous client who knows the path of such a repository and the SHA-256 of an LFS object could download the object, and could use the batch endpoint to test whether an object exists. The Git LFS endpoints now require authentication when sign-in is required to view the instance.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-306Missing Authentication for Critical Function
Timeline
Published15 Nov 2026
Updated22 Nov 2026
First seen15 Nov 2026
Sources
CVE-2026-120725 · MITRE
Track software like this
Free during beta