Advisory

DEBIAN-CVE-2026-39983

Also known as: CVE-2026-39983

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Dates

Published
2026-04-09 18:17 UTC
Modified
2026-10-27 10:01 UTC

Affected packages and fixes

node-proxy-agents

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-proxy-agents

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0~2025070717+~cs15.3.7-1 (ecosystem)

Fixed versions

0~2025070717+~cs15.3.7-1

Fix

  • Fixed version 0~2025070717+~cs15.3.7-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences