---
title: "CVE-2026-126345"
canonical_url: "https://pkgseek.com/security/CVE-2026-126345"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-126345

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…

CVE-2026-126345 is rated MEDIUM (5.3), with 13 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 13
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | node-agent-base | 7.1.1~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-args | 5.0.3~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-basic-ftp | 5.0.5~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-data-uri-to-buffer | 6.0.2~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-degenerator | 5.0.1~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-get-uri | 6.0.3~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-http-proxy-agent | 7.0.2~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-https-proxy-agent | 7.0.4~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-pac-proxy-agent | 7.0.1~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-pac-resolver | 7.0.1~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-proxy | 2.1.1~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-proxy-agent | 6.4.0~0~2024040606-6+deb13u1 | — |
| Debian | trixie | node-socks-proxy-agent | 8.0.3~0~2024040606-6+deb13u1 | — |
