CVE-2026-39983
CVSS v3
8.6
HIGH
EPSS Score
2.8 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for basic-ftp.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- basic-ftpnpmfrom 5.2.0 · fixed in 5.2.1
Vendor advisories
basic-ftp: basic-ftp: Command injection via CRLF sequences in file path parameters
redhat-user-workloads/ansible-plugins as a component of Self-service automation portal 2
Red Hat Security Advisory: Red Hat Developer Hub 1.9.4 release.
Red Hat Security Advisory: Red Hat Developer Hub 1.8.6 release.
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- Published
- 2026-04-09
Frequently asked questions
What is CVE-2026-39983?
Is CVE-2026-39983 actively exploited?
What is the CVSS score for CVE-2026-39983?
Running basic-ftp? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-27699same product
- CVE-2026-29063same advisory
- CVE-2026-27601same advisory
- CVE-2026-29074same advisory
- CVE-2026-29186same advisory@backstage/plugin-techdocs-node: TechDocs Mkdocs Configuration Key Enables Arbitrary Code Execution
- CVE-2026-3118same advisoryRhdh: graphql injection leading to platform-wide denial of service (dos) in rh developer hub orchestrator plugin
- CVE-2026-26996same advisoryminimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
- CVE-2025-69534same advisory