
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-14282 is a privilege escalation vulnerability in the Dropbear SSH server that allows any authenticated SSH user to connect to arbitrary Unix domain sockets using root credentials, bypassing filesystem restrictions and peer credential checks (SO_PEERCRED/SO_PASSCRED). The flaw affects Dropbear running in multi-user mode and was introduced when Unix domain socket forwarding support was added. It was privately reported to the distros mailing list on December 4, 2025, and publicly disclosed on December 16, 2025. It carries a CVSS v3.1 base score of 5.4 (Medium), though its real-world impact — including the ability to obtain a root shell on most systems — is considered significantly more severe (oss-security, Red Hat Bugzilla).
The root cause is an incorrect privilege assignment (CWE-266): Dropbear performs socket forwarding operations as root before dropping privileges to the authenticated user, which only occurs when spawning a shell or performing specific file operations. When Unix domain socket forwarding was added (via commit 1d5f63c in the upstream repository), this pre-authentication privilege window became exploitable — any SSH user can request a forwarding to a privileged Unix socket (e.g., /run/systemd/private) and interact with it as root, defeating both filesystem access controls and SO_PEERCRED-based authentication used by services like D-Bus and Wayland compositors. The researcher demonstrated a full root shell on a Debian Trixie system by forwarding to the systemd D-Bus socket and sending a crafted D-Bus message to spawn a privileged transient service (oss-security, Dropbear PR #391).
A low-privileged user with SSH access can escalate to root on the affected system by leveraging the forwarding to privileged Unix domain sockets such as the systemd D-Bus socket, Wayland compositor sockets, or other services relying solely on SO_PEERCRED for authentication. This results in full confidentiality and integrity compromise of the host, including arbitrary command execution as root, potential lateral movement to other systems, and access to all data on the affected machine. The availability impact is also implicitly total once root access is achieved (oss-security, Red Hat Bugzilla).
A working proof-of-concept exploit was publicly released alongside the disclosure on December 16, 2025, including a Perl script (systemd-run.pl) that crafts a D-Bus message to spawn a root shell via the forwarded systemd socket. The vulnerability requires only a valid SSH login (low privilege) and no user interaction, making it straightforward to exploit. The EPSS score is 0.008% (very low automated exploitation probability), and it has not been added to the CISA KEV catalog as of the time of this report. No threat actor attribution or in-the-wild exploitation has been reported (oss-security, Feedly).
/run/systemd/private).ssh -L ~/sock:/run/systemd/private -t -p 222 luser@target sleep 71dsystemd-run.pl Perl script (published in the oss-security disclosure) to pack a D-Bus StartTransientUnit message targeting the forwarded socket.perl systemd-run.pl ~/sock 't=/proc/$(pgrep -f "^sleep 71d")/fd/1; script /dev/null -qc bash <$t >$t'-L ~/sock:/run/systemd/private or similar) without spawning an interactive shell; SSH sessions with unusually long-lived background processes (e.g., sleep 71d).direct-streamlocal channel open requests to privileged socket paths such as /run/systemd/private, /run/user/0/, or Wayland compositor sockets; D-Bus logs showing StartTransientUnit calls from unexpected PIDs or users.run-<random>.service) spawned by systemd; child processes of the Dropbear daemon running as root that are not the expected shell (e.g., bash, sh, perl).systemd-run.pl or similar D-Bus crafting script in user home directories; unexpected Unix socket files created in user home directories (e.g., ~/sock) (oss-security).The upstream fix (merged December 9, 2025 in PR #391) changes Dropbear to drop privileges to the authenticated user immediately after successful authentication, before performing any socket forwardings. Users should upgrade to a patched version of Dropbear; OpenWrt released the fix in version 24.10.5, and Debian issued DSA-6086-1. As a temporary workaround, disable all socket and TCP forwardings in the Dropbear configuration, or run the server in single-user mode. The DROPBEAR_SVR_DROP_PRIVS compile-time option controls the new behavior and should be enabled (it is on by default in patched builds, with an exception for platforms lacking setresgid() such as NetBSD and macOS) (Dropbear PR #391, OpenWrt Advisory).
The vulnerability received notable coverage from the security community. Heise published an English-language news article titled "SSH server Dropbear allows privilege escalation" shortly after disclosure. The oss-security thread generated discussion, with one researcher (Jacob Bachmeyer) arguing that the broader issue lies with systemd and Wayland weakening SO_PEERCRED-based authentication. The vulnerability trended in CVEWatch Reddit posts for several days following disclosure, and was discussed on Bluesky and Mastodon infosec communities. Cyberkendra described it as a "critical flaw" despite the moderate CVSS score, reflecting the gap between the official score and real-world exploitability (Heise, oss-security reply).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."