{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-48858 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-48858 is a medium-severity server-side request forgery vulnerability in Erlang OTP, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48858 and fix it if it is affected.\n\nWhat it is: CVE-2026-48858 is a medium-severity server-side request forgery vulnerability in Erlang OTP, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-48858 in the wild and no public exploit code.\n\nAffected product: Erlang OTP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48858/ (Markdown: https://insights.sbomify.com/CVE-2026-48858/index.md)","id":"CVE-2026-48858","markdown":"https://insights.sbomify.com/CVE-2026-48858/index.md","name":"CVE-2026-48858","record":{"aliases":["AZL-90117","DEBIAN-CVE-2026-48858","EEF-CVE-2026-48858","GHSA-24cv-hwgr-37fq","UBUNTU-CVE-2026-48858"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Erlang OTP FTP client","requires_auth":"none","summary":"A malicious FTP server can redirect the Erlang OTP client's data connection to arbitrary internal hosts, enabling SSRF and data exfiltration or modification.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"erlang\\/inets","vendor":"erlang"},{"product":"erlang\\/otp","vendor":"erlang"},{"product":"ftp","vendor":"erlang"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ftp client PASV response IP not validated against control peer, enabling SSRF and FTP bounce attacks","id":"CVE-2026-48858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"SSH server timing side-channel in ssh_auth:check_password/3 allows unauthenticated username enumeration","id":"CVE-2026-48859"},"packages":[],"prev":{"headline":"httpc leaks Authorization header to cross-origin redirect targets","id":"CVE-2026-48856"},"products":["OTP"],"published":"2026-06-10","related":[{"cvss_score":8.3,"headline":"ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)","id":"CVE-2026-28808","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":7.1,"headline":"httpc leaks Authorization header to cross-origin redirect targets","id":"CVE-2026-48856","kev_date_added":null,"published":"2026-06-10"},{"cvss_score":7,"headline":"Request smuggling via first-wins Content-Length parsing in inets httpd","id":"CVE-2026-23941","kev_date_added":null,"published":"2026-03-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-24","vendors":["Erlang"]},"summary":"A malicious FTP server can redirect the Erlang OTP client's data connection to arbitrary internal hosts, enabling SSRF and data exfiltration or modification.","url":"https://insights.sbomify.com/CVE-2026-48858/"}