Dropbear per-key forwarding limits leave Unix sockets reachable
A user with a restricted SSH key can bypass Dropbear's per-destination TCP forwarding limits by requesting Unix-domain socket forwarding. A lab test reached the Docker API when the SSH account already had access to its socket.
- Disclosed
- Nov 13, 2026
- Public disclosure date
- Severity
- Sharted
- No CVE: a breach, not a bug
- Splash zone
- Dropbear servers with Unix-socket forwarding enabled that rely on permitopen or permitlisten to restrict authenticated keys.
- Dropbear · SSH · access control · embedded
- In the wild
- Not seen
- A researcher reproduced the issue in a lab. No exploitation outside the lab was reported.
What happened
The TCP handlers check the destinations allowed by permitopen and permitlisten. The Unix-domain socket handlers in 2026.94 check the broader forwarding controls and forced-command settings without applying those destination lists. An attacker needs a valid SSH key, an account allowed to use Unix-socket forwarding, and access to a socket or an eligible path on the server. The local path can connect to a socket the session can reach. The remote path can request a listener at a path where the server permits it.
The researcher used a restricted key to reach a lab socket and then the Docker API on an account in the Docker group. Access to that daemon can give control of the host. The report tested a November 11 development revision. Both affected handlers are also present in the released 2026.94 source. Check your vendor’s build before drawing conclusions about other release versions or devices.
Crime-scene timeline
Nov 13, 19:38 UTC
Researcher discloses the forwarding bypass
The report documents the local socket test against Dropbear revision 99baf182 and traces the two Unix forwarding handlers.
Who said what
We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.
- Researcher's disclosure on oss-securityPrimaryGives the tested revision, reproduction and Docker socket prerequisite.
- Dropbear 2026.94 Unix forwarding codePrimaryBoth handlers apply broad forwarding and forced-command checks without consulting per-destination TCP restrictions.
- Dropbear 2026.94 key option implementationPrimaryShows the per-key forwarding switch and separate TCP destination checks.
- Dropbear 2026.94 build defaultsPrimaryShows both stream-forwarding build switches and where to override them.
- Dropbear 2026.94 startup optionsPrimaryDefines flags for disabling local and remote port and stream forwarding.
- Dropbear releasesPrimaryLists upstream releases. No fixed release was identified as of November 15.