CVE-2026-58423

LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories

Published Jul 3, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories

Analysis

AI-generated

Technical impact

A malformed SSH sub‑verb in Git Large File Storage requests bypasses Gitea’s authentication checks, permitting anyone who can reach the LFS endpoint to read the full contents of private repositories. The weakness is an Authentication Bypass (CWE‑287) that directly violates confidentiality, allowing sensitive source code and binary data to be disclosed to unauthenticated actors.

Affected Systems

The vulnerability impacts installations of the Gitea Open Source Git Server. Advisories reference releases 1.26.3 and 1.26.4, indicating that these versions or those built similarly are affected; no other vendors or products are listed and no additional precise version range is supplied.

Risk and Exploitability

The CVSS score of 7.7 classifies the flaw as high severity, and the EPSS score of less than 1 % indicates a very low but non‑zero chance of exploitation. It is not listed in the CISA KEV catalog. The likely attack vector is remote; an attacker would craft SSH traffic containing an unexpected sub‑verb and send it to the LFS endpoint. Because the attack only requires network connectivity to the SSH service, any host that can reach the server can abuse the flaw, making this a significant confidentiality risk for affected installations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Gitea server to version 1.26.4 or later to apply the official fix.
  • Restrict SSH access to trusted networks or through a VPN so only authorized hosts can reach the LFS endpoint.
  • Monitor SSH logs for anomalous LFS request patterns and apply firewall or WAF rules to block packets containing unexpected sub‑verb sequences.

Generated by OpenCVE AI on August 1, 2026 at 19:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7wvc-rvp7-w99x Gitea: LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories
Title LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories
Weaknesses CWE-287
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jul 6, 2026, 3:09 PM
Reserved
Jun 30, 2026, 6:57 PM
Status
Deferred
Published
Jul 3, 2026, 9:17 PM
Modified
Oct 25, 2026, 3:10 PM