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.3%top 82%

CVE-2026-53422: CWE-204 Observable Response Discrepancy in Erlang OTP

0
Low
VulnerabilityCVE-2026-53422cvecve-2026-53422cwe-204
Published: 07/02/2026 (07/02/2026, 16:06:03 UTC)
Source: CVE Database V5
Vendor/Project: Erlang
Product: OTP

Description

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 before OTP 29.0.3, OTP 28.5.0.3 and OTP 27.3.4.14, corresponding to ssh from 3.0.1 before 6.0.2, 5.5.2.2 and 5.2.11.9.

CVSS v4.0

Score 2.3low

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

Affected software

GitHub Actionsmore threats →cve
ssh
pkg:github/ssh
Affected versions
=3.0.1
GitHub Actionsmore threats →cve
erlang/otp
pkg:github/erlang/otp
Affected versions
=17.0
CPE configurations
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/24/2026, 21:36:54 UTC

Technical Analysis

The vulnerability arises because the SSH_FXP_REALPATH handler in the ssh_sftpd module calls relate_file_name/3 with Canonicalize=false, unlike other SFTP handlers. This allows '..' path components to bypass the is_within_root/2 check without resolution, enabling traversal above the configured root directory. The un-canonicalized path is then processed by resolve_symlinks/2, which performs read_link() syscalls on arbitrary filesystem paths. An authenticated SFTP client can exploit this by sending a crafted REALPATH request and observe different server responses (SSH_FXP_NAME if the path exists, SSH_FX_NO_SUCH_FILE if it does not), creating an oracle to enumerate filesystem structure outside the root. The vulnerability only reveals existence information, not file contents or credentials, but this information could aid further attacks. Affected versions include Erlang OTP from 17.0 before 29.0.3, 28.5.0.3, and 27.3.4.14, and ssh from 3.0.1 before 6.0.2, 5.5.2.2, and 5.2.11.9.

Potential Impact

An authenticated SFTP user can enumerate the existence of files and directories outside the configured root directory on the server. This information disclosure does not include file contents, credentials, or write access. The leaked path existence information may assist attackers in planning further attacks by revealing sensitive filesystem structure details.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, limit SFTP user privileges and monitor for suspicious SFTP activity. Since the vulnerability requires authentication, controlling access to SFTP accounts reduces risk.

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-06-09T11:01:47.529Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a46a8b727e9c79719cc4aa5

Added to database: 07/02/2026, 18:06:47 UTC

Last enriched: 07/24/2026, 21:36:54 UTC

Last updated: 08/16/2026, 00:41:14 UTC

Views: 71

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