CVE-2020-26299
CRITICAL 9.6CVSS 3.1File System Bounds Escape
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).
- Published
- 10 Feb 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-pmw4-jgxx-pcq9
- Sources
- NVDJSONOSV GHSA-pmw4-jgxx-pcq9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ftp-srv_project | ftp-srvcpe:2.3:a:ftp-srv_project:ftp-srv:*:*:*:*:*:node.js:*:* |
< 4.4.0 | 4.4.0 |
| OSV | npm | ftp-srv | < 4.4.0 | 4.4.0 |
References
- https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 · Patch, Third Party Advisory, WEB
- https://github.com/autovance/ftp-srv/issues/167 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/autovance/ftp-srv/issues/225 · Exploit, Third Party Advisory, WEB
- https://github.com/autovance/ftp-srv/pull/224 · Patch, Third Party Advisory, WEB
- https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 · Exploit, Third Party Advisory, WEB
- https://www.npmjs.com/package/ftp-srv · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26299 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 10 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Feb 2021)