Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 95%

CVE-2026-32147: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Erlang OTP

0
Medium
VulnerabilityCVE-2026-32147cvecve-2026-32147cwe-22
Published: Tue Apr 21 2026 (04/21/2026, 12:01:20 UTC)
Source: CVE Database V5
Vendor/Project: Erlang
Product: OTP

Description

CVE-2026-32147 is a path traversal vulnerability in the Erlang OTP ssh_sftpd module that allows authenticated SFTP users to modify file attributes outside the configured chroot directory. This occurs because the SFTP daemon stores raw user-supplied paths rather than chroot-resolved paths in file handles. Exploiting this, an attacker can change permissions, ownership, or timestamps of files outside the intended restricted directory. If the SSH daemon runs as root, this can lead to privilege escalation by setting the setuid bit on binaries or altering sensitive system files' ownership or permissions. The vulnerability affects Erlang OTP versions from 17. 0 up to 28. 4. 3 and related ssh versions. No official patch or remediation guidance is currently confirmed.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 11:49:28 UTC

Technical Analysis

The vulnerability in Erlang OTP's ssh_sftpd module (CVE-2026-32147) is a path traversal issue (CWE-22) that allows an authenticated SFTP user to bypass chroot directory restrictions when modifying file attributes. The root cause is that the ssh_sftpd daemon stores the raw user-supplied path in file handles instead of the chroot-resolved path. When the SSH_FXP_FSETSTAT operation is performed on such a handle, file attributes like permissions, ownership, and timestamps can be altered on the actual filesystem path outside the chroot jail. This flaw affects OTP versions from 17.0 through 28.4.3 and corresponding ssh versions. The vulnerability can lead to privilege escalation if the SSH daemon runs with root privileges, enabling attackers to set the setuid bit or change ownership of critical files. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.3. No patch or official remediation level is currently provided.

Potential Impact

Authenticated SFTP users can modify file attributes outside the intended chroot directory, potentially altering permissions, ownership, and timestamps of arbitrary files on the filesystem. If the SSH daemon runs as root, this can lead to privilege escalation by enabling attackers to set the setuid bit on binaries or change ownership and permissions of sensitive system files. The vulnerability does not allow reading or modifying file contents, only file attribute changes. This can undermine system security and integrity by enabling unauthorized privilege escalation and system configuration changes.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting SSH daemon privileges, avoiding running ssh_sftpd as root, or disabling SFTP services if feasible. Monitor vendor channels for updates and apply patches promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-03-10T22:37:29.213Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e76a9219fe3cd2cdcd3204

Added to database: 4/21/2026, 12:16:18 PM

Last enriched: 4/29/2026, 11:49:28 AM

Last updated: 6/3/2026, 8:13:32 AM

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses