CVE-2025-14282
Linux Debian vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Reconnaissance: Identify a target system running Dropbear SSH in multi-user mode with Unix domain socket forwarding enabled (the default). Confirm the system uses systemd or another service exposing privileged Unix sockets (e.g., /run/systemd/private).
  2. Establish SSH tunnel: As a low-privileged SSH user, create a local Unix socket forwarded to the target privileged socket: ssh -L ~/sock:/run/systemd/private -t -p 222 luser@target sleep 71d
  3. Craft D-Bus payload: Use the researcher's systemd-run.pl Perl script (published in the oss-security disclosure) to pack a D-Bus StartTransientUnit message targeting the forwarded socket.
  4. Execute payload: Run the script against the local forwarded socket with a command to spawn a root shell: perl systemd-run.pl ~/sock 't=/proc/$(pgrep -f "^sleep 71d")/fd/1; script /dev/null -qc bash <$t >$t'
  5. Achieve root shell: The D-Bus message is processed by systemd as root (since the connection appears to come from root via Dropbear's forwarding), spawning a transient service that executes the attacker's command with root privileges (oss-security).

Indicators of compromise

  • Network: SSH connections from a user account that immediately establish a Unix domain socket forwarding (-L ~/sock:/run/systemd/private or similar) without spawning an interactive shell; SSH sessions with unusually long-lived background processes (e.g., sleep 71d).
  • Logs: SSH daemon logs showing 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.
  • Process: Unexpected transient systemd services (e.g., 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).
  • File System: Presence of a 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).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71969HIGH8.4
  • Linux Debian logoLinux Debian
  • optee-os
NoNoAug 10, 2026
CVE-2026-71968HIGH8.4
  • Linux Debian logoLinux Debian
  • optee-os
NoNoAug 10, 2026
CVE-2026-72913HIGH7.3
  • Linux Debian logoLinux Debian
  • kitty
NoYesAug 10, 2026
CVE-2026-73030HIGH7.2
  • Linux Debian logoLinux Debian
  • unearth
NoNoAug 10, 2026
CVE-2026-71967MEDIUM5.7
  • Linux Debian logoLinux Debian
  • optee-os
NoNoAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management