ubuntu-cve-2026-27699
Vulnerability from osv_ubuntu
Published
2026-02-25 15:20
Modified
2026-05-20 15:26
Summary
Details
The basic-ftp FTP client library for Node.js contains a path traversal vulnerability (CWE-22) in versions prior to 5.2.0 in the downloadToDir() method. A malicious FTP server can send directory listings with filenames containing path traversal sequences (../) that cause files to be written outside the intended download directory. Version 5.2.0 patches the issue.
Severity
9.1 (Critical)
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2023071921-5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0~2023071921-5"
]
},
{
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2025070717-2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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+~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"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2025070717+~cs15.2.7-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0~2025070717-2",
"0~2025070717-6",
"0~2025070717+~cs15.2.7-1build1"
]
}
],
"aliases": [],
"details": "The `basic-ftp` FTP client library for Node.js contains a path traversal vulnerability (CWE-22) in versions prior to 5.2.0 in the `downloadToDir()`\u00a0method. A malicious FTP server can send directory listings with filenames containing path traversal sequences (`../`) that cause files to be written outside the intended download directory. Version 5.2.0 patches the issue.",
"id": "UBUNTU-CVE-2026-27699",
"modified": "2026-05-20T15:26:07Z",
"published": "2026-02-25T15:20:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-27699"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-27699"
},
{
"type": "REPORT",
"url": "https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5rq4-664w-9x2c"
},
{
"type": "REPORT",
"url": "https://github.com/patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afbd3f04727a7cd9"
},
{
"type": "REPORT",
"url": "https://github.com/patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afbd3f04727a7cd9"
},
{
"type": "REPORT",
"url": "https://github.com/patrickjuchli/basic-ftp/releases/tag/v5.2.0"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-27699"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…