Skip to main content
No exploitation reportedFix available

CVE-2026-126346

basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF

No exploitation reported by the sources we read.

  • Published2026-11-12
  • Fixed in6.2.3
  • WeaknessCWE-248 · CWE-755

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-1221:42CVE publishedCNA

Versions per branch

OSV
basic-ftp
BranchAffectedFixed in
6.2< 6.2.36.2.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • patrickjuchli basic-ftp
    Affected
    • = < 6.2.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-12

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • basic-ftpTuxCare:npmfrom 5.3.1-tuxcare.0 · fixed in 5.3.1-tuxcare.3
  • basic-ftpTuxCare:npmfrom 5.3.0-tuxcare.0 · fixed in 5.3.0-tuxcare.1
  • basic-ftpTuxCare:npmfrom 5.0.5-tuxcare.0 · fixed in 5.0.5-tuxcare.4
  • basic-ftpTuxCare:npmfrom 6.0.1-tuxcare.0 · fixed in 6.0.1-tuxcare.2
  • basic-ftpTuxCare:npmfrom 5.2.0-tuxcare.0 · fixed in 5.2.0-tuxcare.2
  • code-serverWolfiall versions · fixed in 4.145.2-r1
  • code-serverChainguardall versions · fixed in 4.145.2-r1
  • gemini-cliChainguardall versions · fixed in 0.68.0-r1

8 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-126346 Red Hat Product Security48 known affected

    basic-ftp: basic-ftp: Denial of Service via unhandled command validation exception

    rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend as a component of Red Hat Developer Hub 1 · rhdh/rhdh-hub-rhel9 as a component of Red Hat Developer Hub 1 · rhdh/backstage-community-plugin-catalog-backend-module-keycloak as a component of Red Hat Developer Hub 2 · +45 more

Full record on NVD

Fix

  1. Update basic-ftp to 6.2.3
  2. Workaround from the vendor Red Hat Product Security CVE-2026-126346 · 48 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-126346 · 48 productsFix deferred

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-11-12
Last modified
2026-11-13
NVD status
Deferred
GitHub advisory
GHSA-r4jh-29pc-gfqr

Frequently asked questions

What is CVE-2026-126346?

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.

Is CVE-2026-126346 actively exploited?

Active exploitation of CVE-2026-126346 has not been confirmed. Its EPSS score was 2.9% on 2026-11-30, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-126346?

CVE-2026-126346 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running basic-ftp? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record