# CVE-2026-48859: SSH server timing side-channel in ssh\_auth:check\_password/3 allows unauthenticated username enumeration

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-26)
- **CWE:** CWE-208
- **Published:** 2026-06-10T14:35:43.553Z
- **Modified:** 2026-11-20T06:17:29.180Z

## 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

## 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

- Erlang OTP: \>= 6.0, \< 6.0.1 (cvelist)
- Erlang OTP: \>= 29.0, \< 29.0.2 (cvelist)
- Erlang OTP: \>= 032d1bc9491a3975c68faf9bc7776115d6ae3005, \< c342092ef4b369bb409d5b71ac8fd83bab74aedf (cvelist)

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4>
- patch: <https://github.com/erlang/otp/commit/032d1bc9491a3975c68faf9bc7776115d6ae3005>
- patch: <https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf>
- other: <https://cna.erlef.org/cves/CVE-2026-48859.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-48859>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48859>

HTML: <https://flawdb.com/CVE-2026-48859> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48859>
