CVE-2026-39983: FTP Command Injection via CRLF in basic-ftp
patrickjuchli · basic-ftp
Vendor fix available · Affected: patrickjuchli basic-ftp · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 82% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- patrickjuchli · basic-ftp< 5.2.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- patrickjuchli
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-39983 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-93cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-chqcgithub.com
- github.com/patrickjuchli/basic-ftp/commit/2ecc8e2c500c5234115f06github.com
- github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.1github.com
- access.redhat.com/security/cve/CVE-2026-39983access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39983.security.access.redhat.com