Home / Erlang / OTP / CVE-2026-32147
CVE-2026-32147: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-32147 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.15, 5.2.11.7, 5.5.2, 26.2.5.20 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.
What is CVE-2026-32147?
SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to modify file attributes outside the configured chroot directory. The SFTP daemon (ssh_sftpd) stores the raw, user-supplied path in file handles instead of the chroot-resolved path. When SSH_FXP_FSETSTAT is issued on such a handle, file attributes (permissions, ownership, timestamps) are modified on the real filesystem path, bypassing the root directory boundary entirely. Any authenticated SFTP user on a server configured with the root option can modify file attributes of files outside the intended chroot boundary. The prerequisite is that a target file must exist on the real filesystem at the same relative path. Note that this vulnerability only allows modification of file attributes; file contents cannot be read or altered through this attack vector. If the SSH daemon runs as root, this enables direct privilege escalation: an attacker can set the setuid bit on any binary, change ownership of sensitive files, or make system configuration world-writable. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl and program routines ssh_sftpd:do_open/4 and ssh_sftpd:handle_op/4. This issue affects OTP from OTP 17.0 before OTP 26.2.5.20, OTP 27.3.4.11, and OTP 28.4.3, corresponding to ssh from 3.0.1 before 5.1.4.15, 5.2.11.7, and 5.5.2. 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:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP ssh | 3.0.1 and later | 5.1.4.15, 5.2.11.7, 5.5.2 |
| Erlang | OTP otp | 17.0 and later | 26.2.5.20, 27.3.4.11, 28.4.3 |
| Erlang | OTP erlang/otp | not 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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| erlang | erlang\/otp | from 17.0 before 26.2.5.20 | application |
| erlang | erlang\/otp | from 27.0 before 27.3.4.11 | application |
| erlang | erlang\/otp | from 28.0 before 28.4.3 | application |
| erlang | erlang\/ssh | from 3.0.1 before 5.1.4.15 | application |
| erlang | erlang\/ssh | from 5.2 before 5.2.11.7 | application |
| erlang | erlang\/ssh | from 5.5 before 5.5.2 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-32147?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N | EEF |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD |
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-32147 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 21, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Is there a workaround? (from the CVE record)
* Do not use the root option in ssh_sftpd:subsystem_spec/1, and instead rely on OS-level chroot or container isolation to confine SFTP users. * Ensure the Erlang VM is not running as a privileged OS user. Running the VM as an unprivileged user limits the impact of this vulnerability, since attribute modifications are constrained by that user's OS-level permissions.
Where are the vendor advisories and references?
- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in SFTP chroot vendor-advisory, related
- EEF CNA record for CVE-2026-32147 related
- OSV record EEF-CVE-2026-32147 related
- Erlang/OTP version ordering x_version-scheme
- Introducing commit 07b8f44 in erlang/otp related
- Fix commit 28c5d5a in erlang/otp patch
Who found and reported it?
- John Downey (finder)
- Michał Wąsowski (remediation developer)
- Jakub Witczak (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 10, 2026
- Published
- April 21, 2026, 12:01 UTC
- CVE record updated
- November 20, 2026, 05:57 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?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-117642 Erlang OTP: uncontrolled recursion
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
Questions about CVE-2026-32147
Is CVE-2026-32147 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.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Erlang OTP are affected by CVE-2026-32147?
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-32147?
5.1.4.15, 5.2.11.7, 5.5.2, 26.2.5.20, 27.3.4.11 and 28.4.3, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-32147?
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-32147?
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.