CVE-2026-48859
SSH server timing side-channel in ssh_auth:check_password/3 allows unauthenticated username enumeration
Mitigation
- Upgrade OTP to 6.0.1 or later.
- Upgrade OTP to 29.0.2 or later.
- Vendor workaround: * Use the pwdfun option instead of user_passwords for password authentication. The pwdfun callback gives full control over timing behavior and is not affected by this vulnerability. Implementations should take care to execute in approximately constant time regardless of username validity.
- * Restrict SSH port access to trusted networks only via firewall rules, reducing the set of potential attackers who can perform timing measurements.
Who should check
- Anyone running Erlang OTP >= 6.0, < 6.0.1
- Anyone running Erlang OTP >= 29.0, < 29.0.2
- Anyone running Erlang OTP >= 032d1bc9491a3975c68faf9bc7776115d6ae3005, < c342092ef4b369bb409d5b71ac8fd83bab74aedf
Vulnerability facts
- Affected
- Erlang OTP >= 6.0, < 6.0.1; Erlang OTP >= 29.0, < 29.0.2; Erlang OTP >= 032d1bc9491a3975c68faf9bc7776115d6ae3005, < c342092ef4b369bb409d5b71ac8fd83bab74aedf
- Fixed in
- Erlang OTP 6.0.1, Erlang OTP 29.0.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.68% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-208
- Modified
Description
Observable Timing Discrepancy vulnerability in Erlang/OTP ssh (ssh_auth, ssh_options modules) allows unauthenticated remote username enumeration via timing side-channel in password authentication. When the SSH daemon is configured with the user_passwords or password option, ssh_auth:check_password/3 performs a PBKDF2-SHA256 computation with 600,000 iterations (~300ms) for valid usernames, but returns immediately (~0ms) for invalid usernames via the ssh_options:get_password_option/2 path. This timing difference is detectable in a single authentication attempt and allows an unauthenticated attacker to distinguish valid from invalid usernames. The user_passwords and password options are documented as intended for test purposes; the recommended alternative is pwdfun, which is not affected by this vulnerability. This vulnerability is associated with program files lib/ssh/src/ssh_auth.erl and lib/ssh/src/ssh_options.erl. This issue affects OTP from OTP 29.0 before OTP 29.0.2, corresponding to ssh from 6.0 before 6.0.1.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48859. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48859.md Affected: Erlang OTP >= 6.0, < 6.0.1; Erlang OTP >= 29.0, < 29.0.2; Erlang OTP >= 032d1bc9491a3975c68faf9bc7776115d6ae3005, < c342092ef4b369bb409d5b71ac8fd83bab74aedf Fixed in: Erlang OTP 6.0.1, Erlang OTP 29.0.2 Steps: 1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-48859 being exploited?
There is no confirmed exploitation: CVE-2026-48859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48859?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-48859?
Erlang OTP >= 6.0, < 6.0.1; Erlang OTP >= 29.0, < 29.0.2; Erlang OTP >= 032d1bc9491a3975c68faf9bc7776115d6ae3005, < c342092ef4b369bb409d5b71ac8fd83bab74aedf.
Is there a fix for CVE-2026-48859?
Yes. Fixed in Erlang OTP 6.0.1, Erlang OTP 29.0.2. Upgrade OTP to 6.0.1 or later. Upgrade OTP to 29.0.2 or later. Vendor workaround: * Use the pwdfun option instead of user_passwords for password authentication. The pwdfun callback gives full control over timing behavior and is not affected by this vulnerability. Implementations should take care to execute in approximately constant time regardless of username validity. * Restrict SSH port access to trusted networks only via firewall rules, reducing the set of potential attackers who can perform timing measurements.
How do I check if I'm affected by CVE-2026-48859?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.