CVE-2026-39983
A public proof of concept exists; no exploitation attested.
- Published2026-04-09
- Fixed in5.2.1
- WeaknessCWE-93
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-04-0918:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.2 | < 5.2.1 | 5.2.1 | NVD |
| 5.2 | ≥ 5.2.0, < 5.2.1 | 5.2.1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- patrickjuchli basic-ftpAffected
- = < 5.2.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-04-09
Distribution builds and vendor advisories
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
- @rootio/basic-ftpRoot:npmall versions · fixed in 5.2.0-root.io.1
- @rootio/basic-ftpRoot:npmall versions · fixed in 5.2.0-root.io.2
- @rootio/basic-ftpRoot:npmall versions · fixed in 5.2.0-root.io.3
- basic-ftpTuxCare:npmfrom 5.2.0-tuxcare.0 · fixed in 5.2.0-tuxcare.2
- code-serverWolfiall versions · fixed in 4.112.0-r3
- code-serverChainguardall versions · fixed in 4.112.0-r3
- cube-1.7MinimOSall versions · fixed in 1.7.38-r0
- kibana-8.17Chainguardall versions · fixed in 8.17.10-r17and 2 other packages
30 more package ranges on OSV.dev
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.
Fix
- Update Patrickjuchli basic-ftp to 5.2.1
- Vendor fix Red Hat Product Security RHSA-2026:13826 · 1 productFor more about Red Hat Developer Hub, see References links
- Workaround from the vendor Red Hat Product Security RHSA-2026:13826 · 3 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2026-39983 · 1 productAffected
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comMitigation · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-04-09
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01zebbernCVE/CVE-2026-39983
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-27
- CISA-ADPSSVC decisionpoc2026-04-09
- CNACVSS 3.18.6known since 2026-10-27
- CNAweakness (CWE)CWE-93known since 2026-10-27
- FIRST EPSSEPSS score2.3 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2026-04-08
Identifiers
- CGA-25qp-p853-gv3gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h64-34c9-7j2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mxp-3rcv-hhxjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vx3-g47r-f258same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3frh-3qgp-6ppcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-433r-cpvw-xj7fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-44m8-35v5-cj56same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5749-vgwj-2cgvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5fcr-w82c-rhh3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5m96-jp95-3wqcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5pc8-hprw-hc58same flawChainguard · CC-BY-NC-ND-4.0
- CGA-692q-x34g-796msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6cvh-c82v-wjjhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mjw-chg8-v76wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-79vw-jqrv-p32vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mf6-2prh-fr48same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rp5-fvp8-xhc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8744-xqj6-327wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9v7x-qm88-7rvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9vg6-x9j8-25jfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9wxf-7xp9-p2mgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cwph-3rq3-7qqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f4c7-5p58-rwmxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f582-8jx5-8hq2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9w2-crhw-r5j5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h54h-8f8w-vqxmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hjph-wpwj-mm4fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hwjf-h68r-jggjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hxgg-7q4m-m9f7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j69q-4j4g-372wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jjjv-qhfr-7qhqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mgcm-7vf4-c3vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mhq9-mw8p-675hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mm52-7qfx-4725same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mx43-g88m-g96hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pfjx-7fjj-6q9wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pmwc-g3h6-9fc6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qh4g-8mh3-4g72same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qm7p-rfj2-4xg9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qx89-hfw9-fh68same flawChainguard · CC-BY-NC-ND-4.0
- CGA-r8xm-cvfr-xrj6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-r9gc-98gc-cp5qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rxvx-wrgh-j35wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v9jc-4g86-43rjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vj5g-p33m-2v8msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w3jw-jc4g-4v75same flawChainguard · CC-BY-NC-ND-4.0
- CGA-whfp-73qx-84qvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wm4f-mc6w-q4jmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wqgv-gr2f-w5h4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wwvq-57q4-7322same flawChainguard · CC-BY-NC-ND-4.0
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
- Last modified
- 2026-10-26
- NVD status
- Modified
- GitHub advisory
- GHSA-chqc-8p9q-pq6q
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
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 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? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-chqc-8p9q-pq6q
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0