{"cve":"CVE-2020-26299","nvd":{"published":"2021-02-10T18:15:12.703","modified":"2026-06-17T03:08:01.727","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6},"cwes":["CWE-22"],"references":["https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3","https://github.com/autovance/ftp-srv/issues/167","https://github.com/autovance/ftp-srv/issues/225","https://github.com/autovance/ftp-srv/pull/224","https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9"],"products":["ftp-srv_project:ftp-srv"],"source":"nvd","synced_at":"2026-10-19T21:14:10.479542811+00:00"},"epss":{"cve":"CVE-2020-26299","score":0.01863,"percentile":0.79271,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pmw4-jgxx-pcq9","url":"https://osv.dev/vulnerability/GHSA-pmw4-jgxx-pcq9","summary":"File System Bounds Escape","modified":"2026-07-08T06:00:48.447764796Z","packages":[{"ecosystem":"npm","name":"ftp-srv","purl":"pkg:npm/ftp-srv","ranges":["<4.4.0"],"fixed":["4.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}