Skip to main content
CVE-2026-39983VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-39983· High 8.6

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

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10node-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=stonkingOther threatsAffected
  • 0~2025070717+~cs15.2.7-1build1 – 0~2025070717+~cs15.3.8-3
4 affected builds
Fixed in–
Ubuntu 26.04 LTSnode-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=resoluteOther threatsAffected
  • =0~2025070717-2
  • =0~2025070717-6
  • =0~2025070717+~cs15.2.7-1build1
Fixed in–
Ubuntu 25.10node-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=questingOther threatsAffected
  • 0~2024040606-5 – 0~2025070717-2
4 affected builds
Fixed in–
Ubuntu 24.04 LTSnode-proxy-agentspkg:deb/ubuntu/node-proxy-agents?arch=source&distro=nobleOther threatsAffected
  • =0~2023071921-5
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

Community reviews

Loading reviews…