> CVE-2026-39983 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-09 18:17
MODIFIED
2026-04-09 18:17
CVSS_SCORE V3
8.6
EPSS (Prob. Exploit)
2.80%
Top 13.6%
DATA SOURCES:
NVD 🔗 2026-04-09 RED HAT 🔗 2026-04-12 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-07-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
EXPLOITABILITY
3.9
IMPACT
4.7

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-93

> CWE DETAILED DESCRIPTIONS

CWE-93: Improper Neutralization of CRLF Sequences - The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat Developer Hub 1.8.6 release.
Red Hat Developer Hub 1.8.6 has been released.
Red Hat Security Advisory: Red Hat Developer Hub 1.9.4 release.
Red Hat Developer Hub 1.9.4 has been released.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Important

> GITHUB SECURITY ADVISORY

GHSA-chqc-8p9q-pq6q HIGH

basic-ftp has FTP Command Injection via CRLF

AFFECTED PACKAGES:
NPM / basic-ftp
= 5.2.0
Fixed in: 5.2.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

FTP Command Injection via CRLF in basic-ftp

AFFECTED PACKAGES:
Unknown / Unknown
107 versions affected
ALIASES:
GHSA-chqc-8p9q-pq6q

> HISTORIQUE DES MODIFICATIONS

Première apparition
09/04/2026 18:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') - The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutr...
Nouvelle valeur:
CWE-93: Improper Neutralization of CRLF Sequences - The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectl...
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') - The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutr...
📊 ENRICHISSEMENT 12/04/2026 05:01
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Important", "severity_scale": null }
📊 ENRICHISSEMENT 12/04/2026 05:01
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 4 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/patrickjuchli/basic-ftp/commit/2ecc8e2c500c5234115f06fd1dbde1...
https://github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.1
https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-chqc-8p9q-pq...
« BACK_TO_HOME