Node proxy agents: Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF sequences (\r\n) in file path
Affects node-proxy-agentsSource GCVE Database
Not known to be exploited · CVSS 8.6 High · fixed in 5.2.1 : patch node-proxy-agents soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 2.2% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.2.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 9 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10node-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
basic-ftp is an FTP client for Node.js. Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF sequences (\r\n) in file path parameters passed to high-level path APIs such as cd(), remove(), rename(), uploadFrom(), downloadTo(), list(), and removeDir(). The library's protectWhitespace() helper only handles leading spaces and returns other paths unchanged, while FtpContext.send() writes the resulting command string directly to the control socket with \r\n appended. This lets attacker-controlled path strings split one intended FTP command into multiple commands. This vulnerability is fixed in 5.2.1.
References
- ubuntu.com/security/CVE-2026-39983 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-39983 (opens in a new tab)
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-chqc-8p9q-pq6q (opens in a new tab)
- github.com/patrickjuchli/basic-ftp/commit/2ecc8e2c500c5234115f06fd1dbde1aa03d70f4b (opens in a new tab)
- github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.1 (opens in a new tab)