Description
In sshd in OpenSSH before 10.4, DisableForwarding=yes was supposed to take precedence over PermitTunnel=yes, but did not.
Published: 2026-07-08
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug in OpenSSH versions prior to 10.4 originates from incorrect precedence handling between the configuration options DisableForwarding=yes and PermitTunnel=yes. Instead of correctly suppressing tunneling when DisableForwarding is asserted, the daemon honors PermitTunnel, allowing users to establish SSH tunnels even though forwarding is supposedly disabled. This is a configuration logic flaw that permits a bypass of intended restriction and can provide an attacker with an unauthorized channel for lateral movement or data exfiltration, as indicated by CWE-348 and CWE-358.

Affected Systems

The vulnerability affects the OpenSSH daemon provided by OpenBSD in any version older than 10.4, as indicated by the vendor data. No other vendors or products are listed as affected, so the scope is limited to this OpenSSH project.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, while the EPSS score of a very low probability of exploitation at this time. The flaw is not included in CISA’s KEV catalog, suggesting no widespread or publicly known exploits. Based on the description, it is inferred that the attack vector requires an authenticated SSH connection that includes the PermitTunnel option; an attacker who can DisableForwarding setting.

Generated by OpenCVE AI on July 26, 2026 at 18:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.4p1 or later where the bug is fixed
  • Configure sshd_config to include DisableForwarding=yes and set PermitTunnel=no to ensure tunneling is fully disabled
  • Restart or reload the sshd service to apply configuration changes

Generated by OpenCVE AI on July 26, 2026 at 18:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8533-1 OpenSSH vulnerabilities
History

Wed, 08 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Title openssh: OpenSSH sshd: Security bypass due to incorrect handling of forwarding and tunneling options
Weaknesses CWE-358
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 08 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
Description In sshd in OpenSSH before 10.4, DisableForwarding=yes was supposed to take precedence over PermitTunnel=yes, but did not.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-348
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-08T13:07:51.541Z

Reserved: 2026-07-08T00:13:08.024Z

Link: CVE-2026-59999

cve-icon Vulnrichment

Updated: 2026-07-08T13:07:47.541Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T00:13:08Z

Links: CVE-2026-59999 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:45:03Z

Weaknesses
  • CWE-348

    Use of Less Trusted Source

  • CWE-358

    Improperly Implemented Security Check for Standard