Security Advisory

CVE-2021-36369: Dropbear SSH Client Authentication-Method Downgrade Bypasses FIDO2/SSH-Askpass

Last updated:
  • CVE-2021-36369

CVE-2021-36369 is an improper-authentication flaw (CWE-287) in the client-side SSH code of Dropbear through version 2020.81: Dropbear checks the authentication methods a server claims to support in a way that does not follow the SSH RFCs, so a malicious or compromised SSH server can manipulate that check to steer the client's login process, bypass extra protections such as FIDO2 security keys or SSH-Askpass prompts, and abuse a forwarded SSH agent to authenticate to a different server without the user noticing; NVD's own analysis rates this CVSS v3.1 7.5 (high).

Vulnerability summary

CVSS base score

7.5

High severity

EPSS score (FIRST)

1.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-36369 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Dropbear SSH (client)cpe:2.3:a:dropbear_ssh_project:dropbear_ssh:*:*:*:*:*:*:*:*Dropbear through 2020.81 (fixed in 2022.82)

What does this mean for affected devices?

CVE-2021-36369 (CWE-287, improper authentication) affects Dropbear, the lightweight SSH client and server widely embedded in routers, NAS devices and other resource-constrained firmware as a smaller alternative to OpenSSH. NVD's description states: "An issue was discovered in Dropbear through 2020.81. Due to a non-RFC-compliant check of the available authentication methods in the client-side SSH code, it is possible for an SSH server to change the login process in its favor. This attack can bypass additional security measures such as FIDO2 tokens or SSH-Askpass. Thus, it allows an attacker to abuse a forwarded agent for logging on to another server unnoticed" (NVD).

NVD's own Primary analysis scores this CVSS v3.1 7.5 (high), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N — network-reachable, low attack complexity, no privileges or user interaction required, with high impact to integrity (the manipulated login flow) and no direct confidentiality or availability impact recorded in the vector itself (NVD).

The fix was developed and discussed in Dropbear's own GitHub repository, tracked as pull request #128 against mkj/dropbear, and shipped in the DROPBEAR_2022.82 release (Dropbear GitHub releases).

Debian's LTS security team confirmed the same root cause and impact in its advisory for Debian 10 (buster): "Due to a non-RFC-compliant check of the available authentication methods in the client-side SSH code, it was possible for an SSH server to change the login process in its favor. This attack can bypass additional security measures such as FIDO2 tokens or SSH-Askpass. Thus, it allows an attacker to abuse a forwarded agent for logging on to another server unnoticed," fixed in dropbear 2018.76-5+deb10u2 (Debian LTS announce).

This CVE is not listed in the CISA Known Exploited Vulnerabilities catalog as of catalog version 2026.11.06, and FIRST scores the probability of exploitation at 0.01864 (79.373th percentile) as of 2026-11-06 (CISA KEV, FIRST EPSS).

Devices or firmware images bundling Dropbear through 2020.81 as an SSH client — especially where users rely on agent forwarding and expect FIDO2 or SSH-Askpass prompts to stop a hostile relay server — should be updated to Dropbear 2022.82 or later, or to a distribution package that has backported the fix.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • Dropbear through 2020.81 performs a non-RFC-compliant check of available authentication methods in client-side SSH code, letting a malicious server bypass FIDO2/SSH-Askpass protections and abuse a forwarded agent. — NVD
  • NVD's own Primary analysis scores this CVSS v3.1 7.5 (high), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. — NVD
  • The fix was tracked as pull request #128 in the mkj/dropbear GitHub repository and shipped in the DROPBEAR_2022.82 release. — Dropbear GitHub releases
  • Debian's LTS security team republished the same description and shipped a fix in dropbear 2018.76-5+deb10u2 for Debian 10 (buster). — Debian LTS announce
  • Not present in the CISA KEV catalog as of catalog version 2026.11.06; EPSS score is 0.01864 (79.373th percentile) as of 2026-11-06. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Dropbear GitHub releases
  3. Debian LTS announce
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Does having FIDO2 security keys or SSH-Askpass configured protect against CVE-2021-36369?

No — that is the point of the flaw. NVD's description states the non-RFC-compliant authentication-method check specifically lets a malicious SSH server bypass additional security measures such as FIDO2 tokens or SSH-Askpass, because it manipulates which authentication method the client believes is required.

What does an attacker actually gain by exploiting CVE-2021-36369?

By steering the client's login process, the attacker can abuse a forwarded SSH agent to authenticate to a different downstream server, unnoticed by the user, per NVD and the Debian LTS advisory.

Which Dropbear release fixes CVE-2021-36369?

The fix shipped in the DROPBEAR_2022.82 release; the underlying change was developed as pull request #128 in the mkj/dropbear GitHub repository, per Dropbear's own release notes.

Is CVE-2021-36369 a server-side or client-side Dropbear vulnerability?

It is in Dropbear's client-side SSH code — NVD's description specifically attributes the non-RFC-compliant authentication-method check to "the client-side SSH code," meaning the Dropbear client (dbclient), not the Dropbear SSH server, performs the flawed check.