Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (ssh_sftpd module) allows Path Traversal. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl and program routines ssh_sftpd:is_within_root/2. The SFTP server uses string prefix matching via lists:prefix/2 rather than proper path component validation when checking if a path is within the configured root directory. This allows authenticated users to access sibling directories that share a common name prefix with the configured root directory. For example, if root is set to /home/user1, paths like /home/user10 or /home/user1_backup would incorrectly be considered within the root. This issue affects OTP from OTP 17.0 until OTP 28.4.1, OTP 27.3.4.9 and OTP 26.2.5.18, corresponding to ssh from 3.0.1 until 5.5.1, 5.2.11.6 and 5.1.4.14.
Conclusion & alert: CVE-2026-23942 is rated Low Risk (22.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-13 | — | 0.02% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-23942 not yet assigned priority: Debian including 1 source packages (erlang), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-23942 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-23942/ |
ubuntu
|
medium | CVE-2026-23942 medium priority: Ubuntu including 1 source packages (erlang), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): needs-triage 8. | https://ubuntu.com/security/CVE-2026-23942 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| erlang | erlang\/otp | >= 17.0, < 26.2.5.18 | cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* |
| erlang | erlang\/otp | >= 27.0, < 27.3.4.9 | cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* |
| erlang | erlang\/otp | >= 28.0, < 28.4.1 | cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* |
| erlang | erlang\/ssh | >= 3.0.1, < 5.1.4.14 | cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* |
| erlang | erlang\/ssh | >= 5.2, < 5.2.11.6 | cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* |
| erlang | erlang\/ssh | >= 5.5, <= 5.5.1 | cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* |