CVEBrief

Home / Erlang / OTP / CVE-2026-23942

CVE-2026-23942: is it exploited, and which versions of Erlang OTP are affected and fixed?

CVE-2026-23942 is a path traversal (reading or writing files outside the intended folder) vulnerability in Erlang OTP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: OTP 3.0.1 and later and OTP 17.0 and later (CVE record by EEF). Fixed in 5.1.4.14, 5.2.11.6, 5.5.1, 26.2.5.18 and 2 more (CVE record by EEF). Severity: Medium (5.3, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 20, 2026, 05:59 UTC and NVD November 20, 2026, 07:04 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
OTP 3.0.1 and later and OTP 17.0 and later
CVE record by EEF
Fixed in
5.1.4.14, 5.2.11.6, 5.5.1, 26.2.5.18 and 2 more
CVE record by EEF
Severity
Medium 5.3
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.41% in 30 days
higher than 37% of CVEs; FIRST, December 2, 2026

What is CVE-2026-23942?

SFTP root escape via component-agnostic prefix check in ssh_sftpd

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

From the CVE record by EEF, last updated November 20, 2026, 05:56 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
ErlangOTP ssh3.0.1 and later5.1.4.14, 5.2.11.6, 5.5.1
ErlangOTP otp17.0 and later26.2.5.18, 27.3.4.9, 28.4.1
ErlangOTP erlang/otpnot stated

As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
erlangerlang\/otpfrom 17.0 before 26.2.5.18application
erlangerlang\/otpfrom 27.0 before 27.3.4.9application
erlangerlang\/otpfrom 28.0 before 28.4.1application
erlangerlang\/sshfrom 3.0.1 before 5.1.4.14application
erlangerlang\/sshfrom 5.2 before 5.2.11.6application
erlangerlang\/sshfrom 5.5 through 5.5.1application

NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.

How severe is CVE-2026-23942?

ScoreVersionVectorSource
Medium 5.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NEEF
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-23942 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 13, 2026)
EPSS
0.41% probability of exploitation activity in the next 30 days, percentile 37.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

* Use OS-level chroot to run the Erlang VM/SFTP server process in an isolated filesystem environment. * Ensure that no sensitive or precious data is readable or writable by the OS user running the Erlang VM. * Ensure that the SFTP server port is not reachable from untrusted machines. * Use directory naming conventions that avoid common prefixes (e.g., /home/users/alice/ instead of /home/user1/).

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
January 19, 2026
Published
March 13, 2026, 09:11 UTC
CVE record updated
November 20, 2026, 05:56 UTC by EEF
NVD
Modified, last modified November 20, 2026, 06:17 UTC
Last checked
CVE list November 20, 2026, 05:59 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect OTP?

Every CVE in OTP

Questions about CVE-2026-23942

Is CVE-2026-23942 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Erlang OTP are affected by CVE-2026-23942?

OTP 3.0.1 and later and OTP 17.0 and later, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-23942?

5.1.4.14, 5.2.11.6, 5.5.1, 26.2.5.18, 27.3.4.9 and 28.4.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-23942?

Medium (5.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-23942?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.