CVE-2026-126345
Last modified
CVE-2026-126345 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-126345?
How severe is CVE-2026-126345?
How do I fix CVE-2026-126345?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126330Docker Sandboxes can silently republish a sandbox service af…2.4
- CVE-2026-126331Insertion of sensitive information into sent data in the use…
- CVE-2026-126332Improper access control in the autofill vault search in Devo…
- CVE-2026-12634The NVS backend of the Zephyr settings subsystem (subsys/set…5.3
- CVE-2026-126343@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-126344@hono/node-server allows running the Hono application on Nod…5.4
- CVE-2026-126346basic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPC…5.9
- CVE-2026-126347Tornado is a Python web framework and asynchronous networkin…3.1
- CVE-2026-126348Addressable is an alternative implementation to the URI impl…4.3
- CVE-2026-126349Addressable is an alternative implementation to the URI impl…3.1
- CVE-2026-12635GitLab has remediated an issue in GitLab CE/EE affecting all…3.1
- CVE-2026-126350Addressable is an alternative implementation to the URI impl…5.9
Are you affected by CVE-2026-126345?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
