CVE-2026-126346
CVE-2026-126346 — basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF
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.
Published Updated Sources: NVD, patrickjuchli (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
5.9
medium
Remediation
The vendor's own words where we have them.
Upgrade basic-ftp to 6.2.3 or later (npm advisory GHSA-r4jh-29pc-gfqr).
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Patrickjuchli | basic-ftp | < 6.2.3 | Vulnerable |
| Npm | basic-ftp | <= 6.2.2 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
None
Integrity
None
Scope
Unchanged
Attack Complexity
High
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.9 | CVSS 3.1 | medium | 2.2 | 3.6 | GitHub (CNA), patrickjuchli (CNA), GHSA |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness & attack patterns
- CWE-248
- CWE-755
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Basic-ftp.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 5.9 (AV:N)
Nov 12, 2026 · NVD
Initial · CVE published
Nov 12, 2026 · NVD
Added · GHSA-r4jh-29pc-gfqr published (medium)
Nov 12, 2026 · GitHub Security Advisory
CVE published by NIST.
Nov 12, 2026 · SOCRadar CTI
References
4 on the record
- github.com/patrickjuchli/basic-ftp/commit/0495b906bdf891e68806721b07b333dba65ec88e
Exploit, Third Party Advisory, NIST
- github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.3
Exploit, Third Party Advisory, NIST
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-r4jh-29pc-gfqr
Exploit, Third Party Advisory, NIST
- github.com/advisories/GHSA-r4jh-29pc-gfqr
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
- CVE-2020-7247 OpenSMTPD Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2017-5638 Apache Struts Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-38003 Google Chromium V8 Memory Corruption VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2018-0155 Cisco Catalyst Bidirectional Forwarding Detection Denial-of-Service VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2026-109619 RCE via stale global stateCVSS 8.1 · CISA KEV
Elsewhere on this site
- Patrickjuchlievery CVE for this vendor
- Npmevery CVE for this vendor
- Unclassifiedsame class
- CWE-248other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-126346 is basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF, a medium vulnerability affecting Basic-ftp from Patrickjuchli, Npm. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-126346. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-126346. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 5.9 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.