CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir

CVE-2026-48858

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6.3 · medium

ftp client PASV response IP not validated against control peer, enabling SSRF and FTP bounce attacks

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 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to inets from 5.10.4 before 7.0, and ftp from 1.0 before 1.2.3.1, 1.2.4.1, and 1.2.6.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.234% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 6.3 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
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
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 4.0 · 6.3 · published by EEF
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
Assessment source · checked 2026-11-19T12:58:43.902Z

CVSS 4.0 · 6.3 · published by Ubuntu Security
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
Assessment source · checked 2026-11-19T16:53:14.419Z

CVSS 3.1 · 6.5 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 3.1 · 6.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T16:53:14.419Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:41:35.955ZNVD
epssverified2026-11-19T16:04:51.854ZFIRST EPSS
patchesverified2026-11-19T16:53:14.419ZUbuntu Security
affectedverified2026-11-19T12:58:43.902ZCVE Program
lifecycleverified2026-11-19T12:58:43.902ZCVE Program

Affected versions and configuration

Erlang OTP; modules: ftp_internal; default status: unaffected: 17.4 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.13","status":"unaffected"},{"at":"28.5.0.2","status":"unaffected"},{"at":"29.0.2","status":"unaffected"}] Erlang OTP; modules: ftp_internal; default status: unaffected: 5.10.4 to < 7.0 [affected; scheme: otp] Erlang OTP; modules: ftp_internal; default status: unaffected: 1.0 to < * [affected; scheme: otp]; changes: [{"at":"1.2.3.1","status":"unaffected"},{"at":"1.2.4.1","status":"unaffected"},{"at":"1.2.6","status":"unaffected"}] Erlang OTP; modules: ftp_internal; default status: unaffected: be95772ee1fcfe71045ef070130bea7a910b81e3 to < * [affected; scheme: git]; changes: [{"at":"521bcfa24407ee8cb5614823cf905c37ea3aa605","status":"unaffected"},{"at":"2691a806231ffd0490a8a9e20500dec0c7e73727","status":"unaffected"}]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "erlang",
    "debian": "https://tracker.debian.org/pkg/erlang",
    "source": "https://ubuntu.com/security/cve?package=erlang",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=erlang",
    "statuses": [
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life, was needs-triage",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:29.0.2+dfsg-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:20.2.2+dfsg-1ubuntu2+esm4",
        "release_codename": "bionic"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:24.2.1+dfsg-1ubuntu0.8",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:25.3.2.8+dfsg-1ubuntu4.8",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:27.3.4.6+dfsg-1ubuntu0.2",
        "release_codename": "resolute"
      },
      {
        "pocket": "esm-infra-legacy",
        "status": "released",
        "component": null,
        "description": "1:16.b.3-dfsg-1ubuntu2.2+esm3",
        "release_codename": "trusty"
      },
      {
        "pocket": "esm-infra-legacy",
        "status": "released",
        "component": null,
        "description": "1:18.3-dfsg-1ubuntu3.1+esm4",
        "release_codename": "xenial"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Erlang",
      "modules": [
        "ftp_internal"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "27.3.4.13",
              "status": "unaffected"
            },
            {
              "at": "28.5.0.2",
              "status": "unaffected"
            },
            {
              "at": "29.0.2",
              "status": "unaffected"
            }
          ],
          "version": "17.4",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:software-id/erlang.org/otp",
      "packageName": "otp",
      "programFiles": [
        "lib/inets/src/ftp/ftp_internal.erl",
        "lib/ftp/src/ftp_internal.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ftp_internal:handle_ctrl_result/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "ftp_internal"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "version": "5.10.4",
          "lessThan": "7.0",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "inets",
      "programFiles": [
        "src/ftp/ftp_internal.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ftp_internal:handle_ctrl_result/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "ftp_internal"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "1.2.3.1",
              "status": "unaffected"
            },
            {
              "at": "1.2.4.1",
              "status": "unaffected"
            },
            {
              "at": "1.2.6",
              "status": "unaffected"
            }
          ],
          "version": "1.0",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/ftp?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "ftp",
      "programFiles": [
        "src/ftp_internal.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ftp_internal:handle_ctrl_result/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "ftp_internal"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "521bcfa24407ee8cb5614823cf905c37ea3aa605",
              "status": "unaffected"
            },
            {
              "at": "2691a806231ffd0490a8a9e20500dec0c7e73727",
              "status": "unaffected"
            }
          ],
          "version": "be95772ee1fcfe71045ef070130bea7a910b81e3",
          "lessThan": "*",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/erlang/otp",
      "packageName": "erlang/otp",
      "programFiles": [
        "lib/inets/src/ftp/ftp_internal.erl",
        "lib/ftp/src/ftp_internal.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ftp_internal:handle_ctrl_result/2"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-48858",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-10T16:20:57.662713Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-10T16:21:08.893Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/inets:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "6DF158B8-0BA6-4B09-A835-6FDA18B76AAB",
            "versionEndExcluding": "7.0",
            "versionStartIncluding": "5.10.4"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "2918F1BA-6F58-4003-95F5-C38E81D379DB",
            "versionEndExcluding": "27.3.4.13",
            "versionStartIncluding": "17.4"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "902ED4C3-B9DE-4ABC-9BEA-D23DA4F5D373",
            "versionEndExcluding": "28.5.0.2",
            "versionStartIncluding": "28.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "F4AB1573-4E81-4338-B65A-B3C94C7249FA",
            "versionEndExcluding": "29.0.2",
            "versionStartIncluding": "29.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:ftp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "B9330CBF-0557-4D80-9837-1FEC6708130F",
            "versionEndExcluding": "1.2.3.1",
            "versionStartIncluding": "1.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:ftp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "80E33E35-A4E2-46D2-AAEC-2F963A17C799",
            "versionEndExcluding": "1.2.4.1",
            "versionStartIncluding": "1.2.4"
          },
          {
            "criteria": "cpe:2.3:a:erlang:ftp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "36BC5BF8-6B00-4FAD-AFC4-462C2BB0ACE5",
            "versionEndExcluding": "1.2.6",
            "versionStartIncluding": "1.2.5"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-noteupstream / upstreamerlangNot a distribution channel1:29.0.2+dfsg-1Official record
distribution-packageUbuntu / bionicerlangesm-infra1:20.2.2+dfsg-1ubuntu2+esm4Official record
distribution-packageUbuntu / focalerlangesm-infra1:22.2.7+dfsg-1ubuntu0.5+esm3Official record
distribution-packageUbuntu / jammyerlangsecurity1:24.2.1+dfsg-1ubuntu0.8Official record
distribution-packageUbuntu / nobleerlangsecurity1:25.3.2.8+dfsg-1ubuntu4.8Official record
distribution-packageUbuntu / resoluteerlangsecurity1:27.3.4.6+dfsg-1ubuntu0.2Official record
distribution-packageUbuntu / trustyerlangesm-infra-legacy1:16.b.3-dfsg-1ubuntu2.2+esm3Official record
distribution-packageUbuntu / xenialerlangesm-infra-legacy1:18.3-dfsg-1ubuntu3.1+esm4Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history