CVE-2026-120725

Gitea anonymous Git LFS access despite required sign-in

Published Nov 15, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability allows an unauthenticated user to retrieve Git LFS objects from repositories that are visible to anonymous users, even when sign‑in is required to view the instance. The bug originates from the LFS API not enforcing the session requirement that is applied to the rest of the site, permitting anyone who knows a repository path and the SHA‑256 hash of an object to download it. An attacker can also use the batch endpoint to discover whether a particular LFS object exists, giving them insight into repository contents and size disclosures.

Affected Systems

Any Gitea instance that enables REQUIRE_SIGNIN_VIEW but hosts public repositories prior to the release of version 28.4.0 is affected. The product name is Gitea, and the vulnerability exists in any unpatched or older installation that still allows unauthenticated access to the Git LFS endpoints.

Risk and Exploitability

The vulnerability is exploitable over the network without authentication, allowing attackers to exfiltrate arbitrary LFS data. No EPSS score is published, and the issue is not listed in CISA’s KEV catalog, implying that the likelihood of widespread exploitation is currently unknown but could be moderate. No CVSS metric is provided, but the impact on confidentiality and potential for data leakage is non‑negligible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.4.0 or later to enforce authentication on the Git LFS endpoints.
  • Verify that the instance is configured with REQUIRE_SIGNIN_VIEW = true and that no repositories are unintentionally set to public.
  • If an upgrade cannot be performed immediately, restrict all repositories to private or disable Git LFS for public repositories to prevent unauthenticated data access.

Generated by OpenCVE AI on November 15, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description 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.
Title Gitea anonymous Git LFS access despite required sign-in
Weaknesses CWE-306
References
Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Nov 15, 2026, 9:13 PM
Reserved
Nov 15, 2026, 8:31 PM
Status
Deferred
Published
Nov 15, 2026, 10:17 PM
Modified
Nov 15, 2026, 10:17 PM