CVE-2025-32728
openssh: OpenSSH SSHD Agent Forwarding and X11 Forwarding
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 10, 2025
Updated · September 1, 2026
Description
A flaw was found in OpenSSH. In affected versions of sshd, the DisableForwarding directive does not fully adhere to the intended functionality as documented. Specifically, it fails to disable X11 and agent forwarding, which may allow unintended access under certain configurations.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this vulnerability, explicitly disable X11 and agent forwarding in your SSH configuration (sshd_config) using:
X11Forwarding no AllowAgentForwarding no
CVSS / CWE
CVSS 3.1 · 4.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CWE-440 · Expected Behavior Violation