SFTP chroot bypass via raw handle path
Published Apr 21, 2026 · Updated Jul 24, 2026
Path traversal in Erlang/OTP ssh allows remote authenticated users to modify file attributes outside a configured SFTP root. The ssh_sftpd module stores the raw client path in an open-file handle, and SSH_FXP_FSETSTAT later applies attribute changes to that unresolved real-filesystem path. Exploitation requires authentication, the nondefault root option, and a matching target path; contents remain unreadable and unchanged, while a root-run daemon enables privilege escalation.
Summary
What happened
Path traversal in Erlang/OTP ssh allows remote authenticated users to modify file attributes outside a configured SFTP root. The ssh_sftpd module stores the raw client path in an open-file handle, and SSH_FXP_FSETSTAT later applies attribute changes to that unresolved real-filesystem path. Exploitation requires authentication, the nondefault root option, and a matching target path; contents remain unreadable and unchanged, while a root-run daemon enables privilege escalation.
The record
- CVE
- CVE-2026-32147
- Published
- Apr 21, 2026
- Updated
- Jul 24, 2026
- Vendor
- Erlang
- Product
- Erlang/OTP
- Classifications
- CWE-22, T1222.002, T1068
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 21, 2026CVE publishedPublication date reported by the CVE source.
- Jul 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=07b8f441ca711f9812fad9e9115bab3c3aa92f79 <* changes=[{"at":"28c5d5a6c5f873dc701b597276271763e7d1c004","status":"unaffected"}]
- Affected versionversion=17.0 <* changes=[{"at":"28.4.3","status":"unaffected"},{"at":"27.3.4.11","status":"unaffected"},{"at":"26.2.5.20","status":"unaffected"}]
- Affected versionversion=3.01 <* changes=[{"at":"5.5.3","status":"unaffected"},{"at":"5.2.11.7","status":"unaffected"},{"at":"5.1.4.15","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo