Description
LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories
Published: 2026-07-03
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on July 21, 2026 at 09:02 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 21, 2026 at 09:02 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

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 21:15:00 +0000

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'}


Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-06T15:09:55.924Z

Reserved: 2026-06-30T18:57:20.614Z

Link: CVE-2026-58423

cve-icon Vulnrichment

Updated: 2026-07-06T15:09:45.687Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T09:15:02Z

Weaknesses