DEBIAN-CVE-2026-48858

Source
https://security-tracker.debian.org/tracker/CVE-2026-48858
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48858.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-48858
Upstream
Published
2026-06-10T16:17:11Z
Modified
2026-09-14T17:03:16Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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 OTP 29.0.2, OTP 28.5.0.2 and OTP 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.

References

Affected packages

Debian:12 / erlang

Package

Name
erlang
Purl
pkg:deb/debian/erlang?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:25.*
1:25.2.3+dfsg-1
1:25.2.3+dfsg-1+deb12u1
1:25.2.3+dfsg-1+deb12u2
1:25.2.3+dfsg-1+deb12u3
1:25.2.3+dfsg-1+deb12u4
1:25.3.2.8+dfsg-1
1:25.3.2.10+dfsg-1
1:25.3.2.10+dfsg-2
1:25.3.2.11+dfsg-1
1:25.3.2.12+dfsg-1
1:25.3.2.12+dfsg-2
1:25.3.2.12+dfsg-3
1:26.*
1:26.0~rc2+dfsg-1
1:26.0~rc3+dfsg-1
1:26.0+dfsg-1
1:26.0.1+dfsg-1
1:26.0.2+dfsg-1
1:26.1.2+dfsg-1
1:26.2.1+dfsg-1
1:26.2.4+dfsg-1
1:27.*
1:27.0~rc3+dfsg-1
1:27.0~rc3+dfsg-2
1:27.0~rc3+dfsg-3
1:27.0~rc3+dfsg-4
1:27.0+dfsg-1
1:27.0.1+dfsg-1
1:27.0.1+dfsg-2
1:27.0.1+dfsg-3
1:27.1.2+dfsg-1
1:27.2+dfsg-1
1:27.2+dfsg-2
1:27.2+dfsg-3~exp1
1:27.2.1+dfsg-1
1:27.2.1+dfsg-2
1:27.2.2+dfsg-1
1:27.2.3+dfsg-1
1:27.2.4+dfsg-1
1:27.3+dfsg-1
1:27.3.1+dfsg-1
1:27.3.2+dfsg-1
1:27.3.3+dfsg-1
1:27.3.4+dfsg-1
1:27.3.4.1+dfsg-1
1:27.3.4.3+dfsg-1
1:27.3.4.4+dfsg-1
1:27.3.4.6+dfsg-1
1:27.3.4.8+dfsg-1
1:27.3.4.9+dfsg-1
1:27.3.4.10+dfsg-1
1:27.3.4.11+dfsg-1
1:27.3.4.11+dfsg-2
1:27.3.4.11+dfsg-3
1:27.3.4.11+dfsg-4
1:27.3.4.11+dfsg-5
1:27.3.4.11+dfsg-6
1:27.3.4.11+dfsg-7
1:27.3.4.12+dfsg-1
1:28.*
1:28.0+dfsg-1
1:28.0.1+dfsg-1
1:28.0.2+dfsg-1
1:28.0.4+dfsg-1
1:28.1.1+dfsg-1
1:28.2+dfsg-1
1:28.3+dfsg-1
1:28.3.1+dfsg-1
1:29.*
1:29.0~rc1+dfsg-1
1:29.0~rc1+dfsg-2
1:29.0~rc2+dfsg-1
1:29.0~rc3+dfsg-1
1:29.0~rc3+dfsg-2
1:29.0~rc3+dfsg-3
1:29.0~rc3+dfsg-4
1:29.0+dfsg-1
1:29.0+dfsg-2
1:29.0.1+dfsg-1
1:29.0.2+dfsg-1
1:29.0.3+dfsg-1
1:29.0.4+dfsg-1
1:29.0.6+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48858.json"

Debian:13 / erlang

Package

Name
erlang
Purl
pkg:deb/debian/erlang?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:27.3.4.1+dfsg-1+deb13u3

Affected versions

1:27.*
1:27.3.4.1+dfsg-1
1:27.3.4.1+dfsg-1+deb13u1
1:27.3.4.1+dfsg-1+deb13u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48858.json"

Debian:14 / erlang

Package

Name
erlang
Purl
pkg:deb/debian/erlang?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:29.0.2+dfsg-1

Affected versions

1:27.*
1:27.3.4.1+dfsg-1
1:27.3.4.3+dfsg-1
1:27.3.4.4+dfsg-1
1:27.3.4.6+dfsg-1
1:27.3.4.8+dfsg-1
1:27.3.4.9+dfsg-1
1:27.3.4.10+dfsg-1
1:27.3.4.11+dfsg-1
1:27.3.4.11+dfsg-2
1:27.3.4.11+dfsg-3
1:27.3.4.11+dfsg-4
1:27.3.4.11+dfsg-5
1:27.3.4.11+dfsg-6
1:27.3.4.11+dfsg-7
1:27.3.4.12+dfsg-1
1:28.*
1:28.0+dfsg-1
1:28.0.1+dfsg-1
1:28.0.2+dfsg-1
1:28.0.4+dfsg-1
1:28.1.1+dfsg-1
1:28.2+dfsg-1
1:28.3+dfsg-1
1:28.3.1+dfsg-1
1:29.*
1:29.0~rc1+dfsg-1
1:29.0~rc1+dfsg-2
1:29.0~rc2+dfsg-1
1:29.0~rc3+dfsg-1
1:29.0~rc3+dfsg-2
1:29.0~rc3+dfsg-3
1:29.0~rc3+dfsg-4
1:29.0+dfsg-1
1:29.0+dfsg-2
1:29.0.1+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48858.json"