Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-39983: basic-ftp is an FTP client for Node.js

61
This week
HIGH 8.6REMOTEUPGRADE

CVE-2026-39983 is a high-severity flaw (CVSS 8.6) affecting basic-ftp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.2% (top 18%)
CISA exploited listNo
WeaknessCWE-93
Published2026-04-09
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: patrickjuchli

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

patrickjuchli basic-ftp UPGRADE
Affected: < 5.2.1
Fixed in: 5.2.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls basic-ftp
2. UPGRADE to 5.2.1
npm install basic-ftp@">=5.2.1"

Exact fixes by distribution

npm · basic-ftp · FIXED · 5.2.1 · vulnerable: = 5.2.0 · source
npm install basic-ftp@">=5.2.1" npm ls basic-ftp
Fedora 46 · ruff · FIXED · 0.17.3-1.fc46 · FEDORA-2026-63898fdcbb · source
sudo dnf upgrade --advisory=FEDORA-2026-63898fdcbb
Fedora ELN · xorg-x11-server-Xwayland · FIXED · 26.0.99.903-2.eln159 · FEDORA-2026-4581dab0ed · source
sudo dnf upgrade --advisory=FEDORA-2026-4581dab0ed
Debian 13 · node-proxy-agents · NO FIX YET

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-39983?

basic-ftp: upgrade to 5.2.1. Exact commands for each OS are on this page.

Is CVE-2026-39983 being exploited?

CVE-2026-39983 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-39983 affect?

CVE-2026-39983 affects basic-ftp. Severity is high (CVSS 8.6). 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(), li

How urgent is CVE-2026-39983?

Priority 61/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Node.js vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.