Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-39983

published high CVSS 3.1 · 8.6

FTP Command Injection via CRLF in basic-ftp

Published
09 Apr 2026, 17:05:46 UTC
Updated
15 Jul 2026, 01:01:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
patrickjuchli — basic-ftp< 5.2.1 Affected Not stated GitHub_M
Red Hat — rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.8 · 1776784286 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.9 · 1777903262 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — redhat-user-workloads/art-imagesRed Hat OpenShift Container Platform 4 Affected Not stated redhat-SADP
Red Hat — redhat-user-workloads/ansible-pluginsSelf-service automation portal 2 Affected Not stated redhat-SADP

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in basic-ftp, an FTP client for Node.js. A remote attacker can exploit this vulnerability by injecting Carriage Return Line Feed (CRLF) sequences into file path parameters used by high-level APIs. This allows the attacker to split a single intended FTP command into multiple commands. Such command injection can lead to the execution of arbitrary commands, potentially compromising the integrity and availability of data or the system.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.6 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.6 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
patrickjuchli basic-ftp < 5.2.1 (affected) GitHub_M · cna
Red Hat Red Hat Developer Hub 1.8 1776784286 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Developer Hub 1.9 1777903262 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift Container Platform 4 Default: affected redhat-SADP · adp
Red Hat Self-service automation portal 2 Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') (GitHub_M · cna)
  • CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') (redhat-SADP · adp)

References

8

Provider assertions

3

GitHub_M · cna

FTP Command Injection via CRLF in basic-ftp

redhat-SADP · adp

basic-ftp: basic-ftp: Command injection via CRLF sequences in file path parameters

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
2ed1a8e62ceb7ae46c6de430d1d43f38c8e23236b871203d4a92fc28c0f7a368
Ingested
23 Sep 2026, 09:12:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected