CVE Professor
›
Back
CVE-2026-126346

CVE-2026-126346 — Basic-ftp — CWE-248 · CWE-755

MEDIUM CVSS 5.9 GitHub

CVE-2026-126346 is a MEDIUM severity Denial-of-Service (DoS) vulnerability (CWE-248, CWE-755) (CVSS 5.9/10) affecting Basic-ftp. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

### Summary Client.login() calls FTPContext.send() from inside the control-socket data event handler. send() throws on CR, LF or NUL, and nothing catches the throw. A password containing \r\n therefore raises an uncaught exception and terminates the whole Node.js process. It does not reject the returned promise. Any application that passes untrusted input as the FTP password can be crashed remotely with one request. The same pattern exists in the REST/RETR path of downloadTo() when the remote path contains control characters. ### Details The CRLF guard (FTPContext.send, src/FtpContext.ts ~L233) correctly refuses to send commands containing \r, \n or \0: ```ts send(command: string) { if (/[\r\n\0]/.test(command)) { throw new Error(`Invalid command: Contains control characters. (${command})`); } ``` That works when send() is called from handle(), because it runs inside a Promise executor and the throw becomes a rejection. But in two places send() runs inside a respons

Published 12.11.2026
ISO Date 2026-11-12
Source GitHub
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-126346
CVSS 5.9/10 · MEDIUM · 12.11.2026
CWE: CWE-248, CWE-755
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary

Client.login() calls FTPContext.send() from inside the control-socket data event handler. send() throws on CR, LF or NUL, and nothing catches the throw. A password containing \r\n therefore raises an uncaught exception and terminates the whole Node.js process.
Affected: basic-ftp

⚡ ATTACK CHAIN
CVSS vector not available. Review vendor advisory.

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for basic-ftp.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-248 CWE-755
Affected Products (1)
basic-ftp
References & Advisories (4)
Related CVEs
7.1
CVE-2026-62267
matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. Prior
4.3
CVE-2026-130590
react-native-webview 11.25.1 through 17.1.0 on Android contains a denial of service vulnerability that allows
7.5
CVE-2026-124724
@fastify/busboy is a streaming parser for multipart form data used by Fastify. In versions 1.0.0 through 3.2.5
7.1
CVE-2026-95839
containerd is an open-source container runtime. From 2.2.0 until 2.2.10, 2.3.7, and 2.4.2, image manifest proc
6.5
CVE-2026-129301
### Impact `write_attachments()` called `_safe_attachment_filename()` and `write_sample()` inside its loop wi
6.5
CVE-2026-129299
### Impact Two effects, sharing the root cause of Advisory 1 — header names chosen by the sender were resol