CVE-2026-32147: SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.35% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Erlang OTP 26.2.5.20, 27.3.4.11, 28.4.3; azl3 erlang 26.2.5.18-1 on Azure Linux 3.0 26.2.5.20-1; cbl2 erlang 25.3.2.21-5 on CBL-Mariner 2.0 Release Notes.
Low priority for now. Upgrade to Erlang OTP 26.2.5.20, 27.3.4.11, 28.4.3; azl3 erlang 26.2.5.18-1 on Azure Linux 3.0 26.2.5.20-1; cbl2 erlang 25.3.2.21-5 on CBL-Mariner 2.0 Release Notes or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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 28.4.3, OTP 27.3.4.11 and OTP 26.2.5.20, corresponding to ssh from 3.0.1 before 5.5.3, 5.2.11.7 and 5.1.4.15.
- Published
- Apr 21, 2026
- Updated
- Oct 26, 2026
- EPSS
- 0.3% · 28th percentile
- CWE
- CWE-22
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 5.3
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| erlang | erlang/otp | cpe:2.3:a:erlang:erlang/otp |
| erlang | erlang/ssh | cpe:2.3:a:erlang:erlang/ssh |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- erlang erlang/otp17.0 and later · before 26.2.5.20
- erlang erlang/otp27.0 and later · before 27.3.4.11
- erlang erlang/otp28.0 and later · before 28.4.3
- erlang erlang/ssh3.0.1 and later · before 5.1.4.15
- erlang erlang/ssh5.2 and later · before 5.2.11.7
- erlang erlang/ssh5.5 and later · before 5.5.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
Erlang OTP
- 3.01 and lateraffected · otpfixed in 5.5.3, 5.2.11.7, 5.1.4.15
- 17.0 and lateraffected · otpfixed in 28.4.3, 27.3.4.11, 26.2.5.20
- 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and lateraffected · gitfixed in 28c5d5a6c5f873dc701b597276271763e7d1c004
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | erlang | from 0 | — |
| Debian:13 | erlang | before 1:27.3.4.1+dfsg-1+deb13u3 | 1:27.3.4.1+dfsg-1+deb13u3 |
| Debian:14 | erlang | before 1:27.3.4.11+dfsg-1 | 1:27.3.4.11+dfsg-1 |
| openSUSE:Leap 16.0 | erlang | before 27.1.3-160000.5.1 | 27.1.3-160000.5.1 |
| openSUSE:Tumbleweed | erlang27 | before 27.1.3-2.1 | 27.1.3-2.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP7 | erlang | before 23.3.4.19-150300.3.42.1 | 23.3.4.19-150300.3.42.1 |
| SUSE:Linux Enterprise Server 16.0 | erlang | before 27.1.3-160000.5.1 | 27.1.3-160000.5.1 |
Same product
erlang: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-55953TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication36Monitor
- CVE-2026-49759Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash35Monitor
- CVE-2026-59251Denial of service via exponential certificate policy tree growth in path validation34Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-28810Apr 7, 2026 · Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver25Monitor
- ← EarlierCVE-2026-32144Apr 7, 2026 · OCSP designated-responder authorization bypass via missing signature verification30Monitor
- Later →CVE-2026-42789May 27, 2026 · Non-CA certificate accepted as intermediate issuer in public_key path validation28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Erlang OTP | 26.2.5.20 | Vendor (CNA) |
| Erlang OTP | 27.3.4.11 | Vendor (CNA) |
| Erlang OTP | 28.4.3 | Vendor (CNA) |
| Erlang OTP | 28c5d5a6c5f873dc701b597276271763e7d1c004 | Vendor (CNA) |
| Erlang OTP | 5.1.4.15 | Vendor (CNA) |
| Erlang OTP | 5.2.11.7 | Vendor (CNA) |
| Erlang OTP | 5.5.3 | Vendor (CNA) |
| azl3 erlang 26.2.5.18-1 on Azure Linux 3.0 | 26.2.5.20-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 erlang 25.3.2.21-5 on CBL-Mariner 2.0 | Release Notes | Microsoft (MSRC) |
| debian:erlang | 1:27.3.4.1+dfsg-1+deb13u3 · Debian:13 | Package registry (OSV) |
| opensuse:erlang | 27.1.3-160000.5.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:erlang27 | 27.1.3-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:erlang | 27.1.3-160000.5.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- John Downeyfinder
- Jakub Witczakremediation reviewer
- Michał Wąsowskiremediation developer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.