{"schemaVersion":3,"id":"CVE-2026-48858","aliases":["UBUNTU-CVE-2026-48858","DEBIAN-CVE-2026-48858"],"status":"published","duplicateOf":null,"title":null,"description":"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.\n\nThe 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.\n\nThe 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.\n\nThe ftp application is deprecated and scheduled for removal in OTP-30.\n\nThis 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).\n\nThis 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.","dates":{"published":"2026-06-10T14:35:45.466Z","modified":"2026-07-24T14:16:02.204Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00234,"percentile":0.13442,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00234},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00234,"percentile":0.13442}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00234,"percentile":0.13442}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"debian","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/erlang","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:27.3.4.1+dfsg-1+deb13u3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:29.0.2+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:27.3.4.1+dfsg-1+deb13u3 | < 1:29.0.2+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/erlang","purlType":"deb","versions":[{"text":"< 1:16.b.3-dfsg-1ubuntu2.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:18.3-dfsg-1ubuntu3.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:20.2.2+dfsg-1ubuntu2+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:22.2.7+dfsg-1ubuntu0.5+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:24.2.1+dfsg-1ubuntu0.8","noFixRecorded":false,"fixedIn":null},{"text":"< 1:25.3.2.8+dfsg-1ubuntu4.8","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:27.3.4.6+dfsg-1ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:16.b.3-dfsg-1ubuntu2.2+esm3 | < 1:18.3-dfsg-1ubuntu3.1+esm4 | < 1:20.2.2+dfsg-1ubuntu2+esm4 | < 1:22.2.7+dfsg-1ubuntu0.5+esm3 | < 1:24.2.1+dfsg-1ubuntu0.8 | < 1:25.3.2.8+dfsg-1ubuntu4.8 | All versions (No fix recorded) | < 1:27.3.4.6+dfsg-1ubuntu0.2","eol":null,"hubHref":null},{"vendor":"erlang","product":"erlang\\/inets","name":"erlang\\/inets","label":"erlang\\/inets","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.10.4, < 7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.10.4, < 7.0","eol":null,"hubHref":"/vendor/erlang/erlanginets"},{"vendor":"erlang","product":"erlang\\/otp","name":"Erlang/OTP","label":"erlang\\/otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.4, < 27.3.4.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 28.0, < 28.5.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 29.0, < 29.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.4, < 27.3.4.13 | ≥ 28.0, < 28.5.0.2 | ≥ 29.0, < 29.0.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"erlang","label":"Erlang","category":"lang"}},"hubHref":"/vendor/erlang/erlangotp"},{"vendor":"erlang","product":"ftp","name":"ftp","label":"ftp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0, < 1.2.3.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.2.4, < 1.2.4.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.2.5, < 1.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, < 1.2.3.1 | ≥ 1.2.4, < 1.2.4.1 | ≥ 1.2.5, < 1.2.6","eol":null,"hubHref":"/vendor/erlang/ftp"},{"vendor":"erlang","product":"otp","name":"OTP","label":"otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.10.4, < 7.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0","noFixRecorded":true,"fixedIn":null},{"text":"≥ 17.4","noFixRecorded":true,"fixedIn":null},{"text":"≥ be95772ee1fcfe71045ef070130bea7a910b81e3","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 5.10.4, < 7.0 | ≥ 1.0 (No fix recorded) | ≥ 17.4 (No fix recorded) | ≥ be95772ee1fcfe71045ef070130bea7a910b81e3 (No fix recorded)","eol":null,"hubHref":"/vendor/erlang/otp"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-24cv-hwgr-37fq","label":"github.com/erlang/otp/security/advisories/GHSA-24cv-hwgr-37fq","hostname":"github.com","tags":["Vendor Advisory","Related","REPORT","Mitigation"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48858.html","label":"cna.erlef.org/cves/CVE-2026-48858.html","hostname":"cna.erlef.org","tags":["Related","REPORT","Mitigation","Third Party Advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48858","label":"osv.dev/vulnerability/EEF-CVE-2026-48858","hostname":"osv.dev","tags":["Related","REPORT","Mitigation","Third Party Advisory"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","label":"www.erlang.org/doc/system/versions.html","hostname":"www.erlang.org","tags":["X Version Scheme","Product"]},{"url":"https://github.com/erlang/otp/commit/2691a806231ffd0490a8a9e20500dec0c7e73727","label":"github.com/erlang/otp/commit/2691a806231ffd0490a8a9e20500dec0c7e73727","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/erlang/otp/commit/521bcfa24407ee8cb5614823cf905c37ea3aa605","label":"github.com/erlang/otp/commit/521bcfa24407ee8cb5614823cf905c37ea3aa605","hostname":"github.com","tags":["Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-48858","label":"ubuntu.com/security/CVE-2026-48858","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-48858","label":"www.cve.org/CVERecord?id=CVE-2026-48858","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8901-1","label":"ubuntu.com/security/notices/USN-8901-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-48858","label":"security-tracker.debian.org/tracker/CVE-2026-48858","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48858","label":"nvd.nist.gov/vuln/detail/CVE-2026-48858","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11559-1","OPENSUSE-SU-2026:11560-1","RHSA-2026:63160","SUSE-SU-2026:3579-1","SUSE-SU-2026:3645-1","USN-8901-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11559-1","OPENSUSE-SU-2026:11560-1","SUSE-SU-2026:3579-1","SUSE-SU-2026:3645-1","USN-8901-1"]},"timeline":[{"kind":"published","date":"2026-06-10T14:35:45.466Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-24T14:16:02.204Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:34:20.318Z","stale":false,"partial":false}}