CVEfocus › CVE database › CVE-2026-126345

CVE-2026-126345basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name…

CVSS 5.3 MediumEPSS 0.6% (higher than 40% of CVEs)Published 2026-11-12Updated 2026-11-16Assigner: GitHub_M

basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in src/parseListMLSD.ts uses untrusted fact names from the FTP server as keys in the plain-object factHandlersByName dictionary without checking that the resolved property is an own handler. A fact named __proto__ therefore resolves to Object.prototype, bypasses the missing-handler guard, and is called as though it were a function, producing a TypeError. The error propagates through Client.list() and APIs that depend on it because it is not an FTPError. A malicious or compromised FTP server, or an on-path attacker on a plaintext FTP session, can make the affected operation reject, and the Node.js process terminates under the default behavior in Node.js 15 and later only if the application leaves that rejection unhandled. This issue is fixed in version 6.2.4.

CWE-1321CWE-248

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Debian, Red Hat have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
37Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14node-proxy-agentsFix pendingDEBIAN-CVE-2026-126345
Debian 13node-proxy-agentsFix pendingDEBIAN-CVE-2026-126345
Red Hat Enterprise Linux 10cargoFix pending
Fix deferred
Red Hat Enterprise Linux 10clippyFix pending
Fix deferred
Red Hat Enterprise Linux 10grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 10rustFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-debugger-commonFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-docFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-gdbFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-srcFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Fix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosFix pending
Fix deferred
Red Hat Enterprise Linux 10rustfmtFix pending
Fix deferred
Red Hat Enterprise Linux 9cargoFix pending
Fix deferred
Red Hat Enterprise Linux 9clippyFix pending
Fix deferred
Red Hat Enterprise Linux 9rustFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-analysisFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-debugger-commonFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-docFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-gdbFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-srcFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-staticFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Fix pending
Fix deferred
Red Hat Enterprise Linux 9rust-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 9rustfmtFix pending
Fix deferred
npm librarybasic-ftpFixed6.2.4GHSA-5pm8-86m8-9m6r

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.