9.8

CVE-2026-27699: Basic FTP has Path Traversal Vulnerability in its downloadToDir() method

Analyzed
AliasesUBUNTU-CVE-2026-27699DEBIAN-CVE-2026-27699CGA-6phf-q6mc-2794
Published 25-02-2026Last modified 27-02-2026

Vulnerability summary

CVE-2026-27699 is a critical (CVSS 9.8) vulnerability in patrickjuchli basic-ftp. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.94%
0%100%
Low · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 25-02-2026
    PublishedVulnerability first disclosed.
  2. 27-02-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.94%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 1.01% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Basic Ftp

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard28 products
  • code-server< 4.106.3-r6
  • kibana-7All versions (No fix recorded)
  • kibana-8.17< 8.17.10-r11
  • kibana-8.17-iamguarded< 8.17.10-r11
  • kibana-8.18All versions (No fix recorded)
Wolfi3 products
  • code-server< 4.106.3-r6
  • langfuse-3-worker< 3.155.1-r3
  • opensearch-dashboards-3-security-dashboards-plugin< 3.5.0-r4
Debian1 product
  • node-proxy-agents< 0~2024040606-6+deb13u1 | < 0~2025070717+~cs15.2.7-1
Npm1 product
  • basic-ftp< 5.2.0
Patrickjuchli1 product
Ubuntu1 product
  • node-proxy-agentsAll versions (No fix recorded)

6 vendors · 35 products

References

9 links