CVE-2026-32147
published medium CVSS 4.0 · 5.3SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Erlang | — | sshOTP · 3.0.1 and later (affected · otp); changes: unaffected at 5.1.4.15, unaffected at 5.2.11.7, unaffected at 5.5.2 · Other versions: unknown | Version-specific | Not stated | EEF |
| Erlang | — | otpOTP · 17.0 and later (affected · otp); changes: unaffected at 26.2.5.20, unaffected at 27.3.4.11, unaffected at 28.4.3 · Other versions: unknown | Version-specific | Not stated | EEF |
| Erlang | — | erlang/otpOTP · 07b8f441ca711f9812fad9e9115bab3c3aa92f79 to < 28c5d5a6c5f873dc701b597276271763e7d1c004 (affected · git) · 28c5d5a6c5f873dc701b597276271763e7d1c004 and later (unaffected · git) · Other versions: unknown | Version-specific | Not stated | EEF |
| Debian | trixie | erlang | Advisory build | 1:27.3.4.1+dfsg-1+deb13u3 | DSA-6464-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26aarch64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26ppc64le | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26s390x | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26x86_64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | erlang26-epmdaarch64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26-epmdppc64le | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26-epmds390x | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP6 | erlang26-epmdx86_64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlangaarch64 | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlangppc64le | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlangs390x | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlangx86_64 | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang-epmdaarch64 | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang-epmdppc64le | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang-epmds390x | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang-epmdx86_64 | Advisory build | 23.3.4.19-150300.3.42.1 | SUSE-SU-2026:3951-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26aarch64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26ppc64le | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26s390x | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26x86_64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26-epmdaarch64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26-epmdppc64le | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26-epmds390x | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-15-SP7 | erlang26-epmdx86_64 | Advisory build | 26.2.1-150300.7.25.1 | SUSE-SU-2026:2010-1 |
| SUSE / openSUSE | SLE-16 | erlangaarch64 | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlangppc64le | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlangs390x | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlangx86_64 | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlang-epmdaarch64 | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlang-epmdppc64le | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlang-epmds390x | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | SLE-16 | erlang-epmdx86_64 | Advisory build | 27.1.3-160000.5.1 | SUSE-SU-2026:22082-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlangaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlangppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlangs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlangx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debuggeraarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debuggerppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debuggers390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debuggerx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debugger-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debugger-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debugger-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-debugger-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzeraarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzerppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzers390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzerx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzer-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzer-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzer-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-dialyzer-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameteraarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameterppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameters390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameterx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameter-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameter-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameter-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-diameter-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-docaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-docppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-docx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-epmdaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-epmdppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-epmds390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-epmdx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-etaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-etppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-ets390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-etx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-et-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-et-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-et-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-et-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterfaceaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterfaceppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterfaces390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterfacex86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterface-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterface-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterface-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-jinterface-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observeraarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observerppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observers390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observerx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observer-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observer-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observer-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-observer-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltoolaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltoolppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltools390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltoolx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltool-srcaarch64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltool-srcppc64le | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltool-srcs390x | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | erlang-reltool-srcx86_64 | Advisory build | 27.1.3-160000.5.1 | OPENSUSE-SU-2026:20907-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Erlang | OTP | 3.0.1 and later (affected · otp); changes: unaffected at 5.1.4.15, unaffected at 5.2.11.7, unaffected at 5.5.2Default: unknown | EEF · cna |
| Erlang | OTP | 17.0 and later (affected · otp); changes: unaffected at 26.2.5.20, unaffected at 27.3.4.11, unaffected at 28.4.3Default: unknown | EEF · cna |
| Erlang | OTP | 07b8f441ca711f9812fad9e9115bab3c3aa92f79 to < 28c5d5a6c5f873dc701b597276271763e7d1c004 (affected · git)28c5d5a6c5f873dc701b597276271763e7d1c004 and later (unaffected · git)Default: unknown | EEF · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
6- EEF CNA record for CVE-2026-32147 https://cna.erlef.org/cves/CVE-2026-32147.html
- Introducing commit 07b8f44 in erlang/otp https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79
- Fix commit 28c5d5a in erlang/otp https://github.com/erlang/otp/commit/28c5d5a6c5f873dc701b597276271763e7d1c004
- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in SFTP chroot https://github.com/erlang/otp/security/advisories/GHSA-28jg-mw9x-hpm5
- OSV record EEF-CVE-2026-32147 https://osv.dev/vulnerability/EEF-CVE-2026-32147
- Erlang/OTP version ordering https://www.erlang.org/doc/system/versions.html#order-of-versions
Provider assertions
2EEF · cna
SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5cd90faac0ce07d3491113c0e410de12e80f3f8e28bea5cd2e31ae572dfe758d
- Ingested
- 20 Nov 2026, 06:03:31 UTC
- Source record
- Official CVE record