StraitOfVuln
Latest / CVE-2026-126346

CVE-2026-126346

MediumCVSS 5.9 (v3.1)Deferred
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-126346
Published / updated
12 Nov 2026, 22:19 UTC · last modified 13 Nov 2026, 17:17 UTC
Severity
MEDIUM
CVSS score
5.9 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
patrickjuchli
Affected products
basic-ftp
Affected versions
basic-ftp: < 6.2.3
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
1.67% probability of exploitation in the next 30 days · 78% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com