Home / patrickjuchli / basic-ftp / CVE-2026-39983
CVE-2026-39983: is it exploited, and which versions of patrickjuchli basic-ftp are affected and fixed?
CVE-2026-39983 is an improper Neutralization of CRLF Sequences vulnerability in patrickjuchli basic-ftp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: basic-ftp from 5.2.0 before 5.2.1 (GitHub advisory GHSA-chqc-8p9q-pq6q). Fixed in 5.2.1 (GitHub advisory GHSA-chqc-8p9q-pq6q). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-39983?
FTP Command Injection via CRLF in basic-ftp
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.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| patrickjuchli | basic-ftp | < 5.2.1 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | basic-ftp | >= 5.2.0, < 5.2.1 | 5.2.1 | GHSA-chqc-8p9q-pq6q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 9, 2026. Summary: basic-ftp has FTP Command Injection via CRLF.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| patrickjuchli | basic-ftp | before 5.2.1 | application |
NVD analysis (status Modified), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-39983?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L | GitHub_M |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-39983 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 9, 2026)
- EPSS
- 2.27% probability of exploitation activity in the next 30 days, percentile 83.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-93 Improper Neutralization of CRLF Sequences
Where are the vendor advisories and references?
- https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-chqc-8p9q-pq6q x_refsource_CONFIRM
- https://github.com/patrickjuchli/basic-ftp/commit/2ecc8e2c500c5234115f06fd1dbde1aa03d70f4b x_refsource_MISC
- https://github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.1 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-39983 vdb-entry, x_refsource_REDHAT
- RHBZ#2456971 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39983.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:9742 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13826 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- April 8, 2026
- Published
- April 9, 2026, 17:05 UTC
- CVE record updated
- July 15, 2026, 01:01 UTC by GitHub_M
- NVD
- Modified, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect basic-ftp?
- Nov 12, 2026CVE-2026-126346 patrickjuchli basic-ftp: uncaught exception (crash)
- Nov 12, 2026CVE-2026-126345 patrickjuchli basic-ftp: uncaught exception (crash)
- Sep 30, 2026CVE-2026-102990 patrickjuchli basic-ftp: regular expression denial of service (ReDoS)
- May 12, 2026CVE-2026-44240 patrickjuchli basic-ftp: denial of service (uncontrolled resource consumption)
- Apr 24, 2026CVE-2026-41324 patrickjuchli basic-ftp: denial of service (uncontrolled resource consumption)
- Feb 25, 2026CVE-2026-27699 patrickjuchli basic-ftp: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-39983
Is CVE-2026-39983 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 2.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of patrickjuchli basic-ftp are affected by CVE-2026-39983?
basic-ftp from 5.2.0 before 5.2.1, per the GitHub advisory GHSA-chqc-8p9q-pq6q. The tables above give every range the sources list.
Which version fixes CVE-2026-39983?
5.2.1, per the GitHub advisory GHSA-chqc-8p9q-pq6q. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-39983?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-39983?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.