CVE-2026-126345: basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name causes DoS in Client.list()
Vulnerability summary
CVE-2026-126345 is a medium (CVSS 5.3) Uncaught Exception vulnerability in patrickjuchli basic-ftp. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 48.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-11-2026PublishedVulnerability first disclosed.
- 16-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-248Uncaught ExceptionAn exception is thrown from a function, but it is not caught.
- CWE-1321Improperly Controlled Modification of Object Prototype AttributesThe product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard25 products
- code-server< 4.145.2-r1 | All versions (No fix recorded)
- gemini-cliAll versions (No fix recorded) | < 0.68.0-r1
- mcp-mongodbAll versions (No fix recorded) | < 3.2.2-r3
- opensearch-dashboards-2-fips-security-dashboards-pluginAll versions (No fix recorded) | < 2.19.7-r9
- opensearch-dashboards-2-security-dashboards-pluginAll versions (No fix recorded)
Wolfi2 products
- code-server< 4.145.2-r1 | All versions (No fix recorded)
- opensearch-dashboards-3-security-dashboards-pluginAll versions (No fix recorded) | < 3.9.0-r12
Debian1 product
- node-proxy-agentsAll versions (No fix recorded)
Npm1 product
- basic-ftp< 6.2.4
Patrickjuchli1 product
- basic-ftp< 6.2.4
5 vendors · 30 products
References
7 links- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5pm8-86m8-9m6rX Refsource CONFIRMWEBAdvisory
- github.com/patrickjuchli/basic-ftp/commit/a22664a45d889f7d281e5bdd212c68c0a58d0ae6X Refsource MISCWEBFIX