Live threats

All CVEs / patrickjuchli

CVE-2026-126345patrickjuchli basic-ftp

Medium 5.3 No auth needed

Priority
49
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Nov 12, 2026
Updated
Nov 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-248, CWE-1321
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in src/parseListMLSD.ts uses untrusted fact names from the FTP server as keys in the plain-object factHandlersByName dictionary without checking that the resolved property is an own handler. A fact named __proto__ therefore resolves to Object.prototype, bypasses the missing-handler guard, and is called as though it were a function, producing a TypeError. The error propagates through Client.list() and APIs that depend on it because it is not an FTPError. A malicious or compromised FTP server, or an on-path attacker on a plaintext FTP session, can make the affected operation reject, and the Node.js process terminates under the default behavior in Node.js 15 and later only if the application leaves that rejection unhandled. This issue is fixed in version 6.2.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for basic-ftp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm basic-ftp < 6.2.4 6.2.4 npm install basic-ftp@6.2.4

Per OSV / GitHub Advisories (GHSA-5pm8-86m8-9m6r). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.