CVE-2026-23942

MEDIUMNVD 5.45.4
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 71% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
5.4EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.4Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 before OTP 28.4.1, OTP 27.3.4.9 and OTP 26.2.5.18, corresponding to ssh from 3.0.1 before 5.5.1, 5.2.11.6 and 5.1.4.14.

CVSS v3
5.4
EG Score
5.4(medium)
EG Risk
39(Track)
EG Risk 39/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity54% × 45%
Exploitation0% × 40%
Automatability100% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
29%
KEV
Not listed

Published

March 13, 2026

Last Modified

July 24, 2026

Advisory Details (7)

Auto-updated Jul 24, 2026
Patch available. Sources: github_commit, github.
generic

Versions — Erlang System Documentation v29.0.3

https://www.erlang.org/doc/system/versions.html#order-of-versions
generic

OSV - Open Source Vulnerabilities

https://osv.dev/vulnerability/EEF-CVE-2026-23942
github Patch Available

SFTP root escape via component-agnostic prefix check in `ssh_sftpd` · Advisory · erlang/otp · GitHub

https://github.com/erlang/otp/security/advisories/GHSA-4749-w85x-hw9h
github_commit

commit 9e0ac85d3485 (erlang/otp)

Fix landed in erlang/otp commit 9e0ac85d3485 — awaiting tagged release

https://github.com/erlang/otp/commit/9e0ac85d3485e7898e0da88a14be0ee2310a3b28
github_commit

commit 5ed603a1211b (erlang/otp)

Fix landed in erlang/otp commit 5ed603a1211b — awaiting tagged release

https://github.com/erlang/otp/commit/5ed603a1211b83b8be2d1fc06d3f3bf30c3c9759
github_commit

commit 27688a824f75 (erlang/otp)

Fix landed in erlang/otp commit 27688a824f75 — awaiting tagged release

https://github.com/erlang/otp/commit/27688a824f753d4c16371dc70e88753fb410590b
generic

SFTP root escape via component-agnostic prefix check in ssh_sftpd | Erlang Ecosystem Foundation CNA

https://cna.erlef.org/cves/CVE-2026-23942.html

Vendor Advisories for CVE-2026-23942(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFixed inDependents
erlang1:23.2.6+dfsg-1, 1:23.2.6+dfsg-1+deb11u1, 1:23.2.6+dfsg-1+deb11u2, 1:23.2.6+dfsg-1+deb11u31:23.2.6+dfsg-1+deb11u4
Debian:12(1)
PackageVulnerable rangeFixed inDependents
erlang1:25.2.3+dfsg-1, 1:25.2.3+dfsg-1+deb12u1, 1:25.2.3+dfsg-1+deb12u2, 1:25.2.3+dfsg-1+deb12u31:25.2.3+dfsg-1+deb12u4
Debian:13(1)
PackageVulnerable rangeFixed inDependents
erlang1:27.3.4.1+dfsg-1, 1:27.3.4.1+dfsg-1+deb13u11:27.3.4.1+dfsg-1+deb13u2
Debian:14(1)
PackageVulnerable rangeFixed inDependents
erlang1:27.3.4.1+dfsg-1, 1:27.3.4.3+dfsg-1, 1:27.3.4.4+dfsg-1, 1:27.3.4.6+dfsg-1, 1:27.3.4.8+dfsg-11:27.3.4.9+dfsg-1

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 7× in last 7d / 39× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 187 total refreshes for this CVE.

  1. 2026-09-04 05:06 UTCEPSS rescore
  2. 2026-09-02 19:10 UTCOSV refresh
  3. 2026-09-02 14:11 UTCEPSS rescore
  4. 2026-09-01 13:53 UTCEPSS rescore
  5. 2026-09-01 04:39 UTCEPSS rescore
  6. 2026-08-30 19:17 UTCEPSS rescore
  7. 2026-08-30 01:22 UTCEPSS rescore
  8. 2026-08-28 21:41 UTCEPSS rescore
  9. 2026-08-27 14:25 UTCEPSS rescore
  10. 2026-08-26 14:46 UTCEPSS rescore
  11. 2026-08-25 13:48 UTCEPSS rescore
  12. 2026-08-23 00:19 UTCEPSS rescore
  13. 2026-08-21 23:49 UTCEPSS rescore
  14. 2026-08-20 22:55 UTCEPSS rescore
  15. 2026-08-19 17:03 UTCEPSS rescore
  16. 2026-08-18 13:48 UTCEPSS rescore
  17. 2026-08-17 13:47 UTCEPSS rescore
  18. 2026-08-16 14:56 UTCEPSS rescore
  19. 2026-08-16 11:39 UTCEG score recompute
  20. 2026-08-16 11:39 UTCVendor advisory
  21. 2026-08-16 02:14 UTCEPSS rescore
  22. 2026-08-15 01:30 UTCEPSS rescore
  23. 2026-08-14 07:41 UTCEG score recompute
  24. 2026-08-14 07:41 UTCVendor advisory
  25. 2026-08-13 22:00 UTCEPSS rescore
Show 75 more
  1. 2026-08-12 22:40 UTCEG score recompute
  2. 2026-08-12 13:50 UTCEPSS rescore
  3. 2026-08-11 13:42 UTCEPSS rescore
  4. 2026-08-11 08:39 UTCEG score recompute
  5. 2026-08-11 08:39 UTCVendor advisory
  6. 2026-08-11 00:00 UTCEPSS rescore
  7. 2026-08-10 07:43 UTCEG score recompute
  8. 2026-08-10 07:43 UTCVendor advisory
  9. 2026-08-09 13:46 UTCEPSS rescore
  10. 2026-08-09 07:21 UTCEG score recompute
  11. 2026-08-09 07:21 UTCVendor advisory
  12. 2026-08-08 16:37 UTCEPSS rescore
  13. 2026-08-07 18:01 UTCEG score recompute
  14. 2026-08-06 13:46 UTCEPSS rescore
  15. 2026-08-06 01:54 UTCEG score recompute
  16. 2026-08-06 01:54 UTCVendor advisory
  17. 2026-08-05 19:17 UTCEPSS rescore
  18. 2026-08-04 15:10 UTCEPSS rescore
  19. 2026-08-04 10:38 UTCEPSS rescore
  20. 2026-08-04 01:10 UTCEG score recompute
  21. 2026-08-04 01:10 UTCVendor advisory
  22. 2026-08-03 10:35 UTCEPSS rescore
  23. 2026-08-02 17:18 UTCEG score recompute
  24. 2026-08-02 17:18 UTCVendor advisory
  25. 2026-08-02 02:26 UTCEPSS rescore
  26. 2026-08-01 04:15 UTCEPSS rescore
  27. 2026-07-30 01:30 UTCEPSS rescore
  28. 2026-07-27 14:13 UTCEPSS rescore
  29. 2026-07-26 14:54 UTCEPSS rescore
  30. 2026-07-26 14:54 UTCEPSS rescore
  31. 2026-07-26 09:38 UTCEG score recompute
  32. 2026-07-26 09:38 UTCVendor advisory
  33. 2026-07-25 14:17 UTCEPSS rescore
  34. 2026-07-25 14:17 UTCEPSS rescore
  35. 2026-07-24 14:17 UTCEPSS rescore
  36. 2026-07-23 14:18 UTCEPSS rescore
  37. 2026-07-23 14:18 UTCEPSS rescore
  38. 2026-07-23 03:07 UTCEG score recompute
  39. 2026-07-22 14:08 UTCEPSS rescore
  40. 2026-07-21 15:24 UTCEPSS rescore
  41. 2026-07-21 15:24 UTCEPSS rescore
  42. 2026-07-20 17:08 UTCEPSS rescore
  43. 2026-07-19 14:31 UTCEPSS rescore
  44. 2026-07-19 14:31 UTCEPSS rescore
  45. 2026-07-19 02:29 UTCEPSS rescore
  46. 2026-07-19 02:28 UTCEPSS rescore
  47. 2026-07-18 10:04 UTCEPSS rescore
  48. 2026-07-18 10:04 UTCEPSS rescore
  49. 2026-07-17 08:46 UTCOSV refresh
  50. 2026-07-16 17:03 UTCEPSS rescore
  51. 2026-07-16 17:03 UTCEPSS rescore
  52. 2026-07-15 16:57 UTCEPSS rescore
  53. 2026-07-15 16:57 UTCEPSS rescore
  54. 2026-07-15 02:00 UTCEPSS rescore
  55. 2026-07-15 02:00 UTCEPSS rescore
  56. 2026-07-13 22:30 UTCEPSS rescore
  57. 2026-07-13 06:13 UTCEPSS rescore
  58. 2026-07-13 06:13 UTCEPSS rescore
  59. 2026-07-12 05:46 UTCEPSS rescore
  60. 2026-07-12 05:46 UTCEPSS rescore
  61. 2026-07-11 08:27 UTCEPSS rescore
  62. 2026-07-09 19:10 UTCEPSS rescore
  63. 2026-07-08 15:15 UTCEPSS rescore
  64. 2026-07-08 15:15 UTCEPSS rescore
  65. 2026-07-07 13:46 UTCEPSS rescore
  66. 2026-07-06 16:27 UTCEPSS rescore
  67. 2026-07-06 16:27 UTCEPSS rescore
  68. 2026-07-06 02:23 UTCEPSS rescore
  69. 2026-07-06 02:23 UTCEPSS rescore
  70. 2026-07-05 02:30 UTCEPSS rescore
  71. 2026-07-04 06:31 UTCEPSS rescore
  72. 2026-07-04 06:31 UTCEPSS rescore
  73. 2026-07-01 15:06 UTCEPSS rescore
  74. 2026-07-01 15:06 UTCEPSS rescore
  75. 2026-06-30 23:22 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-23942?
CVE-2026-23942 is a medium vulnerability published on March 13, 2026. 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/sshsftpd.erl and program routines sshsftpd:iswithinroot/2. The SFTP server uses string…
When was CVE-2026-23942 disclosed?
CVE-2026-23942 was first published in the National Vulnerability Database on March 13, 2026, with the most recent update on July 24, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-23942 actively exploited?
CVE-2026-23942 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 70.7% of all scored CVEs.
What is the CVSS score of CVE-2026-23942?
CVE-2026-23942 has a CVSS v3 base score of 5.4 (NVD).
How do I remediate CVE-2026-23942?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-23942, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-23942

Explore →

Is Your Infrastructure Affected by CVE-2026-23942?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.