Skip to content
Heist/ feed
Back to feed
HighFix available

node-proxy-agents — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-39983

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.

Products
node-proxy-agents
Affected 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+~cs16.2.9-1, 0~2025070717-1, 0~2025070717-2, 0~2025070717-3, 0~2025070717-4, 0~2025070717-5, 0~2025070717-6
Fixed versions
0~2025070717+~cs15.3.7-1
CVEs
CVE-2026-39983
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:51 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-39983

core-osv · Original source

Published 9 Apr 2026, 18:17 UTC

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.

osv:DEBIAN-CVE-2026-39983

node-proxy-agents

Fixed versions: Not specified

node-proxy-agents

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

Complete source record
{
  "id": "e6c760e983df3a64c231981c2f2737ca2afdbbe28e82bf9e43473379b3704458",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-39983",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-39983",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-39983",
    "products": [
      {
        "name": {
          "value": "node-proxy-agents",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0~2024040606-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2024040606-6+deb13u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs15.2.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs15.3.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs15.3.8-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs15.3.8-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs15.3.8-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717+~cs16.2.9-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0~2025070717-6",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-proxy-agents",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0~2025070717+~cs15.3.7-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0~2024040606-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717+~cs15.2.7-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0~2025070717-6",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-39983",
      "aliases": [
        "DEBIAN-CVE-2026-39983"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
        }
      ],
      "affected": [
        {
          "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+~cs16.2.9-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"
          }
        },
        {
          "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"
          }
        }
      ],
      "modified": "2026-10-27T10:01:14.316678003Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-39983"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-39983"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-39983",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 461373,
  "published_at": "2026-04-09T18:17:02.503+00:00"
}