CVE-2026-126346basic-ftp: Uncaught exception crashes the Node.js process when a password (or…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | node-proxy-agents | Fix pending | DEBIAN-CVE-2026-126346 | |
| Debian 13 | node-proxy-agents | Fix pending | DEBIAN-CVE-2026-126346 | |
| Red Hat Enterprise Linux 10 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rustfmt | Fix pending Fix deferred | ||
| npm library | basic-ftp | Fixed | 6.2.3 | GHSA-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.
- patrickjuchli basic-ftp: affected: < 6.2.3
References
- https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-r4jh-29pc-gfqr
- https://github.com/patrickjuchli/basic-ftp/commit/0495b906bdf891e68806721b07b333dba65ec88e
- https://github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.3
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.