Skip to main content

Erlang OTP CVE-2026-53422

| EUVDEUVD-2026-41410 LOW
Observable Response Discrepancy (CWE-204)
2026-07-02 EEF
2.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid SFTP credentials
  2. Delivery
    Establish SSH/SFTP session to Erlang sftpd
  3. Exploit
    Send SSH_FXP_REALPATH with crafted dotdot traversal path
  4. Execution
    Observe SSH_FXP_NAME vs SSH_FX_NO_SUCH_FILE response
  5. Impact
    Iteratively enumerate filesystem paths outside configured root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Response uniformity
Exploitation Conditions

Exploitation requires a valid authenticated SFTP session to the target Erlang sftpd instance (PR:L confirmed by CVSS vector). The sftpd must be configured with a root directory restriction - without such a restriction, there is no boundary to bypass and the vulnerability's oracle effect is meaningless. The AT:P prerequisite in the CVSS 4.0 vector reflects that the vulnerable code path is specific to SSH_FXP_REALPATH requests with dotdot traversal sequences, not default passive SFTP activity. Exploitation is limited to path-existence inference: no file contents, credentials, or write capability are accessible through this issue alone. The vulnerability does not affect Erlang applications that use SSH for non-SFTP purposes (e.g., remote shell, Erlang distribution). Platforms running Erlang OTP versions 29.0.3 or later, 28.5.0.3 or later, or 27.3.4.14 or later are not affected.

Impact

The CVSS 4.0 score of 2.3 is low, and the signal set broadly corroborates this assessment. The vector AV:N/AC:L/AT:P/PR:L indicates network-accessible exploitation that nonetheless requires an authenticated SFTP session (PR:L) and specific attack prerequisites (AT:P - namely that a root-restricted SFTP server is deployed). Impact is strictly limited to low confidentiality (VC:L) with no integrity or availability component. No KEV listing exists, and no public proof-of-concept exploit has been identified, which is consistent with the low EPSS profile expected for an information-disclosure-only, post-authentication flaw. The real-world priority is therefore low-to-moderate: this vulnerability does not enable code execution, credential theft, or data exfiltration on its own, but the path-existence oracle it creates can meaningfully assist a chained attack - for example, confirming the location of credential files, backup archives, or configuration paths before exploiting a separate higher-severity vulnerability. Organizations running externally accessible Erlang SFTP servers with untrusted authenticated users (e.g., multi-tenant SFTP services) should treat remediation as a routine patch cycle task rather than an emergency. The AT:P prerequisite slightly tempers even the theoretical risk.

Exploit ScenarioDerived

An attacker with valid SFTP credentials - whether legitimately provisioned or obtained through credential theft - connects to a root-restricted Erlang sftpd instance and issues a series of SSH_FXP_REALPATH requests with crafted paths such as ../../etc/passwd, ../../etc/shadow, and similar traversal strings. By observing whether each response is SSH_FXP_NAME (path exists) or SSH_FX_NO_SUCH_FILE (path absent), the attacker systematically maps the host filesystem structure outside the SFTP jail. No public proof-of-concept exploit code has been identified, though the attack is straightforward to implement manually using any SFTP client capable of sending raw protocol messages.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Path-traversal enumeration in Erlang OTP's ssh_sftpd module allows authenticated SFTP users to determine whether arbitrary filesystem paths exist outside the configured SFTP root directory. The SSH_FXP_REALPATH handler uniquely passes Canonicalize=false to relate_file_name/3, causing dotdot traversal sequences to skip the is_within_root/2 boundary check before entering resolve_symlinks/2, which then issues read_link() syscalls on arbitrary host paths. Affected versions span OTP 17.0 through the fixed releases 29.0.3, 28.5.0.3, and 27.3.4.14; no public exploit code or active exploitation (CISA KEV) has been identified at time of analysis.

RemediationAI

The primary fix is upgrading Erlang OTP to one of the patched releases: OTP 29.0.3 (ssh 6.0.2), OTP 28.5.0.3 (ssh 5.5.2.2), or OTP 27.3.4.14 (ssh 5.2.11.9). Three upstream commits address the issue: 059e5785ef8c1d423820ca633fb7b37f47645172, 86622cfaacf57a02c7645d1999f946846b504c94, and c5a8f50ae68888ff243c5c741a06d2b3a4b48b7a, available at the GitHub patch references. As a compensating control where patching is not immediately possible, operators can restrict SFTP access to only trusted, known-good user accounts, reducing the population of principals who can use the oracle. Additionally, disabling SSH_FXP_REALPATH handling in the sftpd configuration (if the application permits) eliminates the vulnerable code path entirely, though this may break SFTP client compatibility. Network-layer controls that limit which IP ranges can authenticate to the SFTP server reduce exposure but do not eliminate the vulnerability for trusted network segments. The advisory is at https://github.com/erlang/otp/security/advisories/GHSA-h9pw-h5w4-h976.

Affected VersionsENISA

otp 84adefa331c4159d432d22840663c38f155cd4c1 <*
otp 3.0.1 <*
otp 17.0 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is ssh_sftpd.erl in Erlang/OTP's built-in SSH daemon, specifically the handle_op/4 routine that processes SSH File Transfer Protocol (SFTP) operations. CWE-204 (Observable Response Discrepancy) is the root cause class: the server returns distinct response codes - SSH_FXP_NAME on success and SSH_FX_NO_SUCH_FILE on failure - revealing a boolean oracle about host filesystem paths. The inconsistency is architectural: every other SFTP operation handler invokes relate_file_name/3 with Canonicalize=true, which resolves dotdot components before the root-boundary check; only the SSH_FXP_REALPATH handler passes Canonicalize=false, leaving traversal components unresolved. Once the uncanonicalized path bypasses is_within_root/2, resolve_symlinks/2 walks symlink components upward beyond the jail. Affected CPE: cpe:2.3:a:erlang:otp covering OTP versions 17.0 through just before 27.3.4.14, 28.5.0.3, and 29.0.3, corresponding to ssh library versions 3.0.1 through just before 5.2.11.9, 5.5.2.2, and 6.0.2.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-accessible SSH service requires authenticated SFTP credentials (PR:L); impact is strictly path-existence disclosure (C:L) with no integrity or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Observable Response Discrepancy vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to enumerate the existence of files and directories outside the configured root directory.

The SSH_FXP_REALPATH handler in ssh_sftpd calls relate_file_name/3 with Canonicalize=false, unlike every other SFTP operation handler. This allows .. components in the requested path to bypass the is_within_root/2 check without being resolved. The un-canonicalized path then enters resolve_symlinks/2, which walks up the directory tree above the configured root and issues read_link() syscalls on arbitrary filesystem paths.

An authenticated SFTP client can exploit this by sending a REALPATH request with a crafted traversal path. The server response differs depending on whether the target path exists on the host filesystem (SSH_FXP_NAME when the path resolves successfully, SSH_FX_NO_SUCH_FILE when it does not). This creates a path-existence oracle that an attacker can use to enumerate the filesystem structure outside the configured root, including the existence of sensitive files, directories, and mount points.

The vulnerability leaks only the existence of paths. No file contents, credentials, or write access are obtainable through this issue alone. The information gained may assist further attacks when combined with other vulnerabilities.

This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl and program routine ssh_sftpd:handle_op/4.

This issue affects OTP from OTP 17.0 until OTP 29.0.3, 28.5.0.3, and 27.3.4.14 corresponding to ssh from 3.0.1 until 6.0.2, 5.5.2.2, and 5.2.11.9.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
core runtime for telecom, RabbitMQ, and WhatsApp-scale messaging
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy