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

# 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…

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

- **Severity / Score**: MEDIUM (5.9)
- **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 | — |
