CVEfocus › CVE database › CVE-2026-126346

CVE-2026-126346basic-ftp: Uncaught exception crashes the Node.js process when a password (or…

CVSS 5.9 MediumEPSS 2.9% (higher than 88% of CVEs)Published 2026-11-12Updated 2026-11-13Assigner: GitHub_M

basic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPContext.send() throws when a command contains carriage return, line feed, or NUL characters, but calls made from response handlers execute synchronously inside the control socket's data event without an exception boundary. In Client.login(), an attacker-influenced password reaches the PASS command after a server sends a 331 response, and in a resumed download an attacker-influenced remote path reaches the RETR command after a 350 response to REST. The resulting exception does not reject client.access() or downloadTo(), escapes ordinary promise error handling, and terminates the Node.js process, while the validation guard still prevents command injection. This issue is fixed in version 6.2.3.

CWE-248CWE-755

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-126346
Debian 13node-proxy-agentsFix pendingDEBIAN-CVE-2026-126346
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.3GHSA-r4jh-29pc-gfqr

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.