Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-39983

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-39983

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-39983

node-proxy-agents

Source reference: /affected/0/package/name

Affected versions
0~2024040606-6

Source reference: /affected/0/versions

0~2024040606-6+deb13u1

Source reference: /affected/0/versions

0~2025070717+~cs15.2.7-1

Source reference: /affected/0/versions

0~2025070717+~cs15.3.7-1

Source reference: /affected/0/versions

0~2025070717+~cs15.3.8-1

Source reference: /affected/0/versions

0~2025070717+~cs15.3.8-2

Source reference: /affected/0/versions

0~2025070717+~cs15.3.8-3

Source reference: /affected/0/versions

0~2025070717-1

Source reference: /affected/0/versions

0~2025070717-2

Source reference: /affected/0/versions

0~2025070717-3

Source reference: /affected/0/versions

0~2025070717-4

Source reference: /affected/0/versions

0~2025070717-5

Source reference: /affected/0/versions

0~2025070717-6

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

node-proxy-agents

Source reference: /affected/1/package/name

Affected versions
0~2024040606-6

Source reference: /affected/1/versions

0~2025070717+~cs15.2.7-1

Source reference: /affected/1/versions

0~2025070717-1

Source reference: /affected/1/versions

0~2025070717-2

Source reference: /affected/1/versions

0~2025070717-3

Source reference: /affected/1/versions

0~2025070717-4

Source reference: /affected/1/versions

0~2025070717-5

Source reference: /affected/1/versions

0~2025070717-6

Source reference: /affected/1/versions

Fixed versions
0~2025070717+~cs15.3.7-1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "node-proxy-agents",
      "purl": "pkg:deb/debian/node-proxy-agents?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0~2024040606-6",
      "0~2024040606-6+deb13u1",
      "0~2025070717+~cs15.2.7-1",
      "0~2025070717+~cs15.3.7-1",
      "0~2025070717+~cs15.3.8-1",
      "0~2025070717+~cs15.3.8-2",
      "0~2025070717+~cs15.3.8-3",
      "0~2025070717-1",
      "0~2025070717-2",
      "0~2025070717-3",
      "0~2025070717-4",
      "0~2025070717-5",
      "0~2025070717-6"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39983.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0~2025070717+~cs15.3.7-1"
          }
        ]
      }
    ],
    "package": {
      "name": "node-proxy-agents",
      "purl": "pkg:deb/debian/node-proxy-agents?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0~2024040606-6",
      "0~2025070717+~cs15.2.7-1",
      "0~2025070717-1",
      "0~2025070717-2",
      "0~2025070717-3",
      "0~2025070717-4",
      "0~2025070717-5",
      "0~2025070717-6"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39983.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56867 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement