Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid SFTP credentials
-
DeliveryConnect to chroot-configured SFTP server
-
ExploitCreate symlink inside chroot pointing to '/'
-
ExecutionIssue SSH_FXP_READLINK for symlink
-
PersistReceive absolute backend chroot path
-
ImpactUse disclosed path for host reconnaissance
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) a valid SFTP user account with at least low-privilege access to the server (PR:L - unauthenticated exploitation is not possible per the CVSS vector); (2) the SFTP server must be explicitly configured with a chroot root directory (the AT:P 'attack requirements present' modifier - servers running ssh_sftpd without a configured root option are not affected because no backend prefix exists to leak); and (3) the authenticated client must have permission to create symlinks within the chroot. What strictly limits the impact: only the absolute filesystem path of the SFTP chroot root (and symlink targets within it) is disclosed - no file contents, no credentials, no access to paths outside the chroot boundary is obtainable through this issue alone. Exploitation is not automatable at scale because valid credentials are required per session. |
| Impact | The CVSS 4.0 score of 2.3 accurately reflects real-world risk. The vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N indicates the attack is network-reachable with low complexity, but requires both valid credentials (PR:L - authenticated) and a specific server configuration (AT:P - chroot must be enabled). The only impact is low confidentiality on the vulnerable component (VC:L), limited to disclosure of an absolute filesystem path. No integrity or availability impact exists. No EPSS data was provided in the advisory; however, the narrow impact scope, authentication requirement, and absence of KEV listing or known POC all support a genuinely low exploitation priority. The AT:P modifier is a meaningful limiting signal: default Erlang OTP SFTP deployments without a configured chroot root are not affected. The disclosed path (e.g., '/data/sftp') has value only as reconnaissance for subsequent, separate attacks; it grants no direct access to files, credentials, or paths outside the chroot. This is a real but low-priority issue - relevant primarily in environments where SFTP chroot paths represent sensitive operational secrets. |
| Exploit ScenarioDerived | An attacker with valid SFTP credentials connects to an Erlang OTP SFTP server configured with a chroot root directory. The attacker uses the SFTP client to create a symlink at a path inside the chroot (e.g., '/link') pointing to '/'; ssh_sftpd resolves this to the absolute backend root and stores it on disk. The attacker then issues SSH_FXP_READLINK for that symlink and receives the absolute server path (e.g., '/data/sftp/users/alice') - information they can use to refine subsequent attacks against the host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Path disclosure in Erlang OTP's ssh_sftpd module exposes the absolute backend filesystem path of the SFTP chroot root to authenticated clients. By creating a symlink inside the chroot pointing to '/' and issuing SSH_FXP_READLINK, an authenticated SFTP client receives the raw absolute path (e.g., '/data/sftp') that the server uses as the chroot backend, rather than the sanitized chroot-relative value '/'. No public exploit code has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog; the CVSS 4.0 score of 2.3 reflects the narrowly scoped, low-severity nature of the disclosure.
RemediationAI
Upgrade Erlang OTP to one of the patched releases: 29.0.2 (ssh 6.0.1), 28.5.0.2 (ssh 5.5.2.1), or 27.3.4.13 (ssh 5.2.11.8). The upstream fix is available in commit 8f4224a0d2676b0653d2c71a889a956e8c2c62d6 on the erlang/otp repository (https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6). Vendor advisory: https://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fh. If immediate patching is not feasible, a targeted compensating control is to remove symlink-creation permissions for SFTP users within the chroot, which prevents the attack precondition from being established; the trade-off is that legitimate workflows relying on client-side symlink creation will break. A second option is to use a non-sensitive or opaque value as the chroot path (e.g., a UUID-named directory), reducing the intelligence value of the leaked path. Generic network-level controls cannot mitigate this issue as exploitation occurs over a valid, authenticated SFTP session.
Affected VersionsENISA
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 vulnerability is in lib/ssh/src/ssh_sftpd.erl within the SSH_FXP_READLINK request handler of Erlang OTP's built-in SFTP subsystem (ssh application). When an SFTP server operates with a chroot root directory, symlink targets returned to the client must be processed through chroot_filename/2 to strip the backend root prefix before transmission - the same sanitization applied elsewhere in ssh_sftpd. The bug is a missing call: the SSH_FXP_READLINK code path returned the raw result of file:read_link/2 directly via ssh_xfer:xf_send_name without invoking chroot_filename/2 or canonicalize_filename. The fix (commit 8f4224a) inserts 'AbsTarget = filename:absname(NewPath, filename:dirname(AbsPath)), ChrootedPath = chroot_filename(canonicalize_filename(AbsTarget), State)' before sending the name. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) applies: the server inadvertently leaks internal infrastructure path details the client is not entitled to see. Affected products per CPE: cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*.
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
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
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
1DescriptionCVE.org
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Erlang OTP ssh (ssh_sftpd module) allows File Discovery.
The SSH_FXP_READLINK handler in ssh_sftpd sends the raw result of file:read_link/2 to the client without calling chroot_filename/2 to strip the backend root prefix. An authenticated SFTP client can create a symlink inside the chroot pointing to /; ssh_sftpd resolves the target to the absolute backend root and stores it on disk. Reading the symlink back via SSH_FXP_READLINK returns that absolute path, for example /data/sftp, instead of the chrooted value /.
The information disclosed is the absolute filesystem path of the SFTP root directory and of any symlink targets within it. No file contents, credentials, or access to paths outside the root directory are obtainable through this issue alone.
This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl.
This issue affects OTP from OTP 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to ssh from 3.0.1 before 6.0.1, 5.5.2.1 and 5.2.11.8.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling
The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat
Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV
An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
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
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
RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b
Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers
TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged
EUVD-2026-36056
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB