Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperate or compromise target FTP server
-
DeliveryClient issues PASV command in passive IPv4 mode
-
ExploitInject crafted 227 response advertising internal target IP and port
-
ExecutionErlang ftp client opens data channel to redirected internal host
-
ImpactExfiltrate response data from internal service or deliver file content to internal target
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable code path is activated by the default ftp client configuration: mode=passive, ipfamily=inet, and ftp_extension=false. No authentication is required from the attacker's perspective (PR:N per CVSS 4.0), but Attack Requirements are present (AT:P): the attacker must control or have compromised the FTP server that the target Erlang application connects to, or occupy a man-in-the-middle position on the FTP control connection. On read operations (ftp:ls, ftp:nlist, ftp:recv), data from the redirected internal host is returned to the caller; on write operations (ftp:send, ftp:append), the application's file data is sent to the redirected target. Exploitation is limited to clients using IPv4 passive mode - applications configured with ftp_extension=true (forcing EPSV) or ipfamily=inet6 follow code paths that already validate the IP against the control connection peer and are not vulnerable. Since ftp_extension defaults to false, the overwhelming majority of Erlang ftp deployments in passive IPv4 mode are affected by default. |
| Impact | The CVSS 4.0 score of 6.3 reflects network reachability (AV:N), no required privileges (PR:N), no user interaction (UI:N), but Attack Requirements present (AT:P) - acknowledging that a malicious or compromised FTP server must be in the connection path. Confidentiality and integrity impact are rated low for both the vulnerable system and downstream scope, which accurately captures that the attacker pivots through the client rather than directly compromising it. EPSS data was not provided in the input, limiting exploitation probability quantification. No active exploitation is confirmed (not in CISA KEV). However, a fully functional proof-of-concept - including a complete malicious FTP server implementation - is publicly available in the upstream fix commit, which substantially elevates practical risk beyond what the raw CVSS score suggests. Real-world severity is highly context-dependent: Erlang applications that connect to untrusted or third-party FTP servers (e.g., aggregators, data pipelines fetching from external sources) are directly and immediately exposed, while those connecting only to internally controlled servers face negligible external exploitation risk. On read operations the attacker receives data from the redirected internal host; on write operations the Erlang application's data is exfiltrated to the redirected target - both paths can reach cloud metadata endpoints (e.g., 169.254.169.254) or internal APIs. The ftp application's pending deprecation and removal in OTP-30 does not reduce near-term risk. |
| Exploit ScenarioDerived | An attacker who operates or has compromised an FTP server that an Erlang application connects to using default passive mode waits for the client to issue a PASV command, then responds with a crafted 227 message containing the IP of an internal target - such as the AWS instance metadata endpoint at 169.254.169.254 or an internal REST API - rather than the FTP server's own address. The Erlang ftp client unconditionally opens its data channel to that internal address; on an ls or recv call, the response data from the internal service is returned to the Erlang caller, leaking sensitive internal information. A complete proof-of-concept implementing exactly this malicious FTP server behavior is publicly available in the upstream fix commit at https://github.com/erlang/otp/commit/2691a806231ffd0490a8a9e20500dec0c7e73727. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
SSRF and FTP bounce attacks are enabled in Erlang/OTP's ftp_internal module because the PASV handler blindly trusts the IP address returned in a server's 227 response, connecting the data channel to an attacker-controlled internal target without validating it against the control connection's actual peer address. All Erlang applications using the ftp client in its default passive IPv4 mode (ipfamily=inet, ftp_extension=false) across OTP 17.4 through pre-29.0.2 are affected, spanning both the legacy inets-bundled module and the standalone ftp application. No active exploitation has been confirmed (not in CISA KEV), but a functional proof-of-concept demonstrating the redirect attack is publicly embedded in the upstream fix commit, significantly lowering the exploitation barrier.
RemediationAI
Upgrade to one of the fixed OTP releases: OTP 29.0.2 (ftp 1.2.6), OTP 28.5.0.2 (ftp 1.2.4.1), or OTP 27.3.4.13 (ftp 1.2.3.1), available per the vendor advisory at https://github.com/erlang/otp/security/advisories/GHSA-24cv-hwgr-37fq; upstream fix commits are at https://github.com/erlang/otp/commit/2691a806231ffd0490a8a9e20500dec0c7e73727 and https://github.com/erlang/otp/commit/521bcfa24407ee8cb5614823cf905c37ea3aa605. As a compensating control where immediate upgrade is not possible, set ftp_extension=true when opening ftp connections to force use of EPSV instead of PASV - the EPSV handler already derives the IP from the control connection and is not affected; however, this requires the remote FTP server to support EPSV and may break compatibility with older servers. Alternatively, enforce network egress policy to block ftp client connections to untrusted external FTP servers, restricting connectivity to only known-good internal endpoints; this eliminates the threat vector but does not remediate the underlying flaw. Given that the ftp application is deprecated and scheduled for removal in OTP-30, migrating affected applications to SFTP or HTTP-based file transfer is the recommended long-term path and avoids the vulnerability entirely.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the handle_ctrl_result/2 function within ftp_internal.erl, which is part of Erlang/OTP's ftp application (CPE: cpe:2.3:a:erlang:otp). In FTP passive mode, the server sends a 227 response containing a comma-separated IP and port tuple; the client is expected to open its data connection to that address. The pre-fix PASV handler extracted the four IP octets directly from the 227 message body and passed them to gen_tcp:connect/4 - exactly the pattern RFC 2577 Section 3 warns against. The adjacent EPSV handlers in the same file correctly call peername(CSock) to derive the IP from the established control connection socket, ignoring whatever the server advertises. CWE-918 (SSRF) applies because user-controlled (server-supplied) data drives a subsequent internal network connection without sanitization. The affected code exists in two locations: lib/inets/src/ftp/ftp_internal.erl (inets 5.10.4 through 6.5, OTP 17.4 through 20.3) and lib/ftp/src/ftp_internal.erl (ftp 1.0 and later, OTP 21.0 and later). The fix replaces the extracted A1-A4 octets with the result of peername(CSock), aligning the PASV handler with the already-correct EPSV logic.
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
Sources disagree (Medium–Critical)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorVendor: EEF
Lifecycle Timeline
1DescriptionCVE.org
Server-Side Request Forgery (SSRF) vulnerability in Erlang/OTP ftp (ftp_internal module) allows FTP bounce attacks and SSRF via an unvalidated PASV response IP address.
The ftp_internal:handle_ctrl_result/2 PASV handler (mode=passive, ipfamily=inet, ftp_extension=false) extracts the IP address from the server's 227 response and passes it directly to gen_tcp:connect/4 without validating it against the control connection peer address. The adjacent EPSV handlers correctly call peername(CSock) to derive the IP from the control connection, but the PASV handler does not. A malicious or compromised FTP server can redirect the client's data connection to an arbitrary internal host and port. On read operations (ftp:ls/1,2, ftp:nlist/1,2, ftp:recv/2,3), data from the redirected target is returned to the caller. On write operations (ftp:send/2,3, ftp:append/2,3), file content is sent to the redirected target. This enables SSRF against internal hosts, cloud metadata endpoints, and FTP bounce attacks against third-party hosts.
The vulnerable path is the default configuration (mode=passive, ipfamily=inet, ftp_extension=false). RFC 2577 section 3 explicitly recommends validating the PASV response IP against the control connection peer.
The ftp application is deprecated and scheduled for removal in OTP-30.
This vulnerability is associated with program files lib/inets/src/ftp/ftp_internal.erl (inets 5.10.4 through 6.5, OTP 17.4 through 20.3) and lib/ftp/src/ftp_internal.erl (ftp 1.0 and later, OTP 21.0 and later).
This issue affects OTP from OTP 17.4 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10.4 before 7.0 and ftp from 1.0 before 1.2.6, 1.2.4.1 and 1.2.3.1.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-36055
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB