CVE-2025-32728
NoneCVSS
—
EPSS
0.2%
Published
Apr 10, 2025
CISA due date
—
Cloudanix analysis
A configuration setting meant to block certain remote connection features in OpenSSH does not work as expected, so systems may allow more access than administrators intended.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Other
- Component
- Network Service
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The DisableForwarding directive in sshd fails to block X11 and agent forwarding as documented, allowing these forwarding mechanisms to remain active despite explicit configuration to disable them.
Why it matters to the business
Organizations relying on DisableForwarding to restrict remote session capabilities may inadvertently permit unauthorized forwarding channels, increasing exposure in environments with strict access controls; low exploit probability and no known active campaigns reduce immediate urgency but patching remains necessary for compliance.
How an attack unfolds
An attacker with valid SSH access to a system configured with DisableForwarding connects and requests X11 or agent forwarding; because the directive is not enforced, the server permits the forwarding session, bypassing the intended restriction.
How to fix it
Upgrade OpenSSH to version 10.0 or later; apply commit fc86875e6acb36401dfc1dfb6b628a9d1460f367 in portable builds; Red Hat Enterprise Linux 7 Thunderbird users should update to 60.8.0-1.el7_6 or newer packages that incorporate the corrected OpenSSH dependency.
How to confirm the fix worked
Confirm sshd version is 10.0 or newer, verify the DisableForwarding directive now correctly blocks X11 and agent forwarding in test connections, and audit sshd_config files for the directive presence after upgrade.
Typical attack path
- Obtain valid credentials or access to an SSH account on the target system
- Issue an SSH connection request that includes X11 or agent forwarding options
- Server accepts the forwarding request despite DisableForwarding being set
- Use the established forwarding channel for lateral movement or credential theft
How to detect it
No historical exploitation artifacts are known; monitor SSH authentication and session logs for unexpected X11 or agent forwarding requests on systems with DisableForwarding enabled.
What your security team should do
- Prioritize upgrade of all OpenSSH instances to 10.0+ within standard change windows given low EPSS and absence from KEV
- Review sshd_config files across the environment to ensure DisableForwarding is applied where intended
- Test forwarding behavior post-upgrade before enforcing in production
The record
In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:10 | openssh | 0 | 9.9p1-11.el10.alma.1 |
| AlmaLinux:10 | openssh-askpass | 0 | 9.9p1-11.el10.alma.1 |
| AlmaLinux:10 | openssh-clients | 0 | 9.9p1-11.el10.alma.1 |
| AlmaLinux:10 | openssh-keycat | 0 | 9.9p1-11.el10.alma.1 |
| AlmaLinux:10 | openssh-keysign | 0 | 9.9p1-11.el10.alma.1 |
| AlmaLinux:10 | openssh-server | 0 | 9.9p1-11.el10.alma.1 |
| Debian:11 | openssh | 0 | No fix |
| Debian:12 | openssh | 0 | No fix |
| Debian:13 | openssh | 0 | No fix |
| Debian:14 | openssh | 0 | 1:10.0p1-1 |
| Mageia:9 | openssh | 0 | 9.3p1-2.5.mga9 |
| SUSE:Enterprise Storage 7.1 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Enterprise Storage 7.1 | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Micro 5.1 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Micro 5.2 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Micro 5.3 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Micro 5.4 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Micro 5.5 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | openssh | 0 | 9.6p1-150600.6.26.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | openssh-askpass-gnome | 0 | 9.6p1-150600.6.26.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | openssh-askpass-gnome | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Manager Proxy 4.3 | openssh | 0 | 8.4p1-150300.3.49.1 |
| SUSE:Manager Server 4.3 | openssh | 0 | 8.4p1-150300.3.49.1 |
| openSUSE:Leap 15.6 | openssh | 0 | 9.6p1-150600.6.26.1 |
| openSUSE:Leap 15.6 | openssh-askpass-gnome | 0 | 9.6p1-150600.6.26.1 |
| openSUSE:Tumbleweed | openssh | 0 | 10.0p2-2.1 |
Related vulnerabilities
- CVE-2025-26465 A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Also affects openssh
- CVE-2023-51767 OpenSSH through 10.0, when common types of DRAM are used, might allow row hammer attacks… Also affects openssh
- CVE-2023-51385 In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host… Also affects openssh
- CVE-2021-41617 sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are… Also affects openssh
- CVE-2016-10708 sshd in OpenSSH before 7.4 allows remote attackers to cause a denial of service (NULL… Also affects openssh
- CVE-2016-1908 The client in OpenSSH before 7.2 mishandles failed cookie generation for untrusted X11… Also affects openssh
- CVE-2016-6210 sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing… Also affects openssh
- CVE-2016-10009 Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4… Also affects openssh