StraitOfVuln
Latest / CVE-2026-126345

CVE-2026-126345

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

Description

basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in src/parseListMLSD.ts uses untrusted fact names from the FTP server as keys in the plain-object factHandlersByName dictionary without checking that the resolved property is an own handler. A fact named __proto__ therefore resolves to Object.prototype, bypasses the missing-handler guard, and is called as though it were a function, producing a TypeError. The error propagates through Client.list() and APIs that depend on it because it is not an FTPError. A malicious or compromised FTP server, or an on-path attacker on a plaintext FTP session, can make the affected operation reject, and the Node.js process terminates under the default behavior in Node.js 15 and later only if the application leaves that rejection unhandled. This issue is fixed in version 6.2.4.

Details

CVE ID
CVE-2026-126345
Published / updated
12 Nov 2026, 22:19 UTC · last modified 16 Nov 2026, 20:18 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · Attack vector: Network
Affected vendor
patrickjuchli
Affected products
basic-ftp
Affected versions
basic-ftp: < 6.2.4
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
0.57% probability of exploitation in the next 30 days · 48% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com