{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-32147 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-32147 is a medium-severity path traversal vulnerability in Erlang OTP, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32147 and fix it if it is affected.\n\nWhat it is: CVE-2026-32147 is a medium-severity path traversal vulnerability in Erlang OTP, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-32147 in the wild and no public exploit code.\n\nAffected product: Erlang OTP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32147/ (Markdown: https://insights.sbomify.com/CVE-2026-32147/index.md)","id":"CVE-2026-32147","markdown":"https://insights.sbomify.com/CVE-2026-32147/index.md","name":"CVE-2026-32147","record":{"aliases":["AZL-84065","DEBIAN-CVE-2026-32147","EEF-CVE-2026-32147","GHSA-28jg-mw9x-hpm5","OESA-2026-2940","OESA-2026-2941","SUSE-SU-2026:3951-1","UBUNTU-CVE-2026-32147"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Erlang OTP SSH","requires_auth":"low_privilege","summary":"Authenticated SFTP users can bypass chroot restrictions to modify file attributes outside the sandbox, potentially leading to privilege escalation if the daemon runs as root.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"erlang\\/otp","vendor":"erlang"},{"product":"erlang\\/ssh","vendor":"erlang"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.\n\nThe 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.\n\nAny 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.\n\nIf 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.\n\nThis 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.\n\nThis 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.","ecosystems":["SUSE:Linux Enterprise Module for Server Applications 15 SP7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT","id":"CVE-2026-32147","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"Lockfile checksums not verified in Hex allows dependency integrity bypass","id":"CVE-2026-32148"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["23.3.4.19-150300.3.42.1"],"introduced":["0"],"last_affected":[],"package":"erlang","purl":"pkg:rpm/suse/erlang\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2026:3951-1"}],"prev":{"headline":"Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification","id":"CVE-2026-32146"},"products":["OTP"],"published":"2026-04-21","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-37026","kev_date_added":null,"published":"2022-09-21"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-10253","kev_date_added":null,"published":"2017-03-18"},{"cvss_score":9.1,"headline":"TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication","id":"CVE-2026-55953","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.8,"headline":"Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash","id":"CVE-2026-49759","kev_date_added":null,"published":"2026-06-10"},{"cvss_score":8.7,"headline":"TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain","id":"CVE-2026-58227","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"Denial of service via exponential certificate policy tree growth in path validation","id":"CVE-2026-59251","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions","id":"CVE-2026-55950","kev_date_added":null,"published":"2026-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-24","vendors":["Erlang"]},"summary":"Authenticated SFTP users can bypass chroot restrictions to modify file attributes outside the sandbox, potentially leading to privilege escalation if the daemon runs as root.","url":"https://insights.sbomify.com/CVE-2026-32147/"}