Skip to main content
No exploitation reportedFix available

CVE-2020-26299

No exploitation reported by the sources we read.

  • Published2021-02-10
  • Fixed in4.4.0
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).

Timeline

dates in UTC
  1. 2021-02-1018:15CVE publishedNVD

Versions per branch

NVD · OSV
Ftp-srv project ftp-srv
BranchAffectedFixed in
4.4< 4.4.04.4.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2020-26299 Red Hat Product Security

    nodejs-ftp-srv: Path traversal in path.resolve function

Full record on NVD

Fix

  1. Update Ftp-srv project ftp-srv to 4.4.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.16.3known since 2026-10-23
  • NVDCVSS 3.19.6read 2026-10-23
  • NVDCVSS 2.05.5read 2026-10-23
  • CNAweakness (CWE)CWE-22known since 2026-10-23
  • FIRST EPSSEPSS score1.9 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2021-02-10

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Published
2021-02-10
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-pmw4-jgxx-pcq9

Frequently asked questions

What is CVE-2020-26299?

ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).

Is CVE-2020-26299 actively exploited?

Active exploitation of CVE-2020-26299 has not been confirmed. Its EPSS score was 1.9% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-26299?

CVE-2020-26299 has a CVSS v3 base score of 9.6 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.

Running ftp-srv? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record