UBUNTU-CVE-2026-39983

Source
https://ubuntu.com/security/CVE-2026-39983
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39983.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-39983
Upstream
Published
2026-04-09T18:17:00Z
Modified
2026-05-20T16:12:58.476487227Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:24.04:LTS / node-proxy-agents

Package

Name
node-proxy-agents
Purl
pkg:deb/ubuntu/node-proxy-agents?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
0~2023071921-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-agent-base",
            "binary_version": "7.1.0~0~2023071921-5"
        },
        {
            "binary_name": "node-args",
            "binary_version": "5.0.3~0~2023071921-5"
        },
        {
            "binary_name": "node-basic-ftp",
            "binary_version": "5.0.3~0~2023071921-5"
        },
        {
            "binary_name": "node-data-uri-to-buffer",
            "binary_version": "5.0.1~0~2023071921-5"
        },
        {
            "binary_name": "node-degenerator",
            "binary_version": "5.0.1~0~2023071921-5"
        },
        {
            "binary_name": "node-get-uri",
            "binary_version": "6.0.1~0~2023071921-5"
        },
        {
            "binary_name": "node-http-proxy-agent",
            "binary_version": "7.0.0~0~2023071921-5"
        },
        {
            "binary_name": "node-https-proxy-agent",
            "binary_version": "7.0.1~0~2023071921-5"
        },
        {
            "binary_name": "node-pac-proxy-agent",
            "binary_version": "7.0.0~0~2023071921-5"
        },
        {
            "binary_name": "node-pac-resolver",
            "binary_version": "7.0.0~0~2023071921-5"
        },
        {
            "binary_name": "node-proxy",
            "binary_version": "2.1.1~0~2023071921-5"
        },
        {
            "binary_name": "node-proxy-agent",
            "binary_version": "6.3.0~0~2023071921-5"
        },
        {
            "binary_name": "node-socks-proxy-agent",
            "binary_version": "8.0.1~0~2023071921-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39983.json"

Ubuntu:25.10 / node-proxy-agents

Package

Name
node-proxy-agents
Purl
pkg:deb/ubuntu/node-proxy-agents?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
0~2024040606-5
0~2024040606-6
0~2025070717-1
0~2025070717-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-agent-base",
            "binary_version": "7.1.4~0~2025070717-2"
        },
        {
            "binary_name": "node-args",
            "binary_version": "5.0.3~0~2025070717-2"
        },
        {
            "binary_name": "node-basic-ftp",
            "binary_version": "5.0.5~0~2025070717-2"
        },
        {
            "binary_name": "node-data-uri-to-buffer",
            "binary_version": "6.0.2~0~2025070717-2"
        },
        {
            "binary_name": "node-degenerator",
            "binary_version": "5.0.1~0~2025070717-2"
        },
        {
            "binary_name": "node-get-uri",
            "binary_version": "6.0.5~0~2025070717-2"
        },
        {
            "binary_name": "node-http-proxy-agent",
            "binary_version": "7.0.2~0~2025070717-2"
        },
        {
            "binary_name": "node-https-proxy-agent",
            "binary_version": "7.0.6~0~2025070717-2"
        },
        {
            "binary_name": "node-pac-proxy-agent",
            "binary_version": "7.2.0~0~2025070717-2"
        },
        {
            "binary_name": "node-pac-resolver",
            "binary_version": "7.0.1~0~2025070717-2"
        },
        {
            "binary_name": "node-proxy",
            "binary_version": "2.2.0~0~2025070717-2"
        },
        {
            "binary_name": "node-proxy-agent",
            "binary_version": "6.5.0~0~2025070717-2"
        },
        {
            "binary_name": "node-socks-proxy-agent",
            "binary_version": "8.0.5~0~2025070717-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39983.json"

Ubuntu:26.04:LTS / node-proxy-agents

Package

Name
node-proxy-agents
Purl
pkg:deb/ubuntu/node-proxy-agents?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
0~2025070717-2
0~2025070717-6
0~2025070717+~cs15.*
0~2025070717+~cs15.2.7-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-agent-base",
            "binary_version": "7.1.4~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-args",
            "binary_version": "5.0.3~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-basic-ftp",
            "binary_version": "5.2.0~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-data-uri-to-buffer",
            "binary_version": "6.0.2~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-degenerator",
            "binary_version": "5.0.1~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-get-uri",
            "binary_version": "6.0.5~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-http-proxy-agent",
            "binary_version": "7.0.2~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-https-proxy-agent",
            "binary_version": "7.0.6~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-pac-proxy-agent",
            "binary_version": "7.2.0~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-pac-resolver",
            "binary_version": "7.0.1~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-proxy",
            "binary_version": "2.2.0~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-proxy-agent",
            "binary_version": "6.5.0~0~2025070717+~cs15.2.7-1build1"
        },
        {
            "binary_name": "node-socks-proxy-agent",
            "binary_version": "8.0.5~0~2025070717+~cs15.2.7-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39983.json"