CVE-2025-32728 Security feature bypass in OpenSSH

Medium 4.3 Published Updated

OpenSSH sshd fails to disable X11 and agent forwarding when configured, allowing bypass of intended security restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-32728?

CVE-2025-32728 is a medium-severity vulnerability in Debian Debian Linux, published on 10 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding.

Weakness: CWE-440

Which versions are affected by CVE-2025-32728?

It affects 2 products.

Linux distribution packages (40)
openssh AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh-askpass AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh-clients AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh-keycat AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh-keysign AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh-server AlmaLinux:10All versions9.9p1-11.el10.alma.1
openssh Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-askpass Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-askpass-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-clients Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-clients-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-debugsource Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-keycat Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-keycat-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-keysign Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-keysign-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-server Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-server-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh-sk-dummy-debuginfo Red Hat:enterprise_linux:10.1All versions0:9.9p1-11.el10
openssh Rocky Linux:10All versions0:9.9p1-11.el10.rocky.0.1
openssh SUSE:Enterprise Storage 7.1All versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Enterprise Storage 7.1All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions8.4p1-150300.3.49.1
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Micro 5.1All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Micro 5.2All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Micro 5.3All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Micro 5.4All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Micro 5.5All versions8.4p1-150300.3.49.1
openssh SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions9.6p1-150600.6.26.1
openssh SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions9.6p1-150600.6.26.1

Products include Debian Debian Linux, OpenSSH.

How do I fix CVE-2025-32728?

Upgrade to a fixed version.

Is CVE-2025-32728 being exploited?

There is no known exploitation of CVE-2025-32728 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2025-32728, ALSA-2025:20126, AZL-59775, AZL-59888, BELL-CVE-2025-32728, CLSA-2025-1749482356 and 24 more.

Is CVE-2025-32728 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free