8.6

CVE-2026-39983: FTP Command Injection via CRLF in basic-ftp

Modified
AliasesUBUNTU-CVE-2026-39983DEBIAN-CVE-2026-39983CGA-44m8-35v5-cj56
Published 09-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-39983 is a high (CVSS 8.6) vulnerability in patrickjuchli basic-ftp. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
2.19%
0%100%
Low · -0.62 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 09-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

2.19%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

Decrease -0.62 pp

From 2.80% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Basic Ftp

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard25 products
  • code-server< 4.112.0-r3
  • kibana-8.17< 8.17.10-r17
  • kibana-8.17-bitnami< 8.17.10-r17
  • kibana-8.17-iamguarded< 8.17.10-r17
  • kibana-8.19< 8.19.14-r2
Wolfi3 products
  • code-server< 4.112.0-r3
  • langfuse-3-worker< 3.164.0-r5
  • opensearch-dashboards-3-security-dashboards-plugin< 3.5.0-r15
Debian1 product
  • node-proxy-agentsAll versions (No fix recorded) | < 0~2025070717+~cs15.3.7-1
Npm1 product
  • basic-ftp≥ 5.2.0, < 5.2.1
Patrickjuchli1 product
Ubuntu1 product
  • node-proxy-agentsAll versions (No fix recorded)

6 vendors · 32 products

References

14 links
Show all 14 references