# CVE-2020-26299: File System Bounds Escape

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.89%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-02-10T18:10:19.000Z
- Modified: 2026-07-08T06:00:48.447Z
- Also known as: GHSA-pmw4-jgxx-pcq9
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- autovance ftp-srv: < 4.4.0
- ftp-srv (npm): before 4.4.0
- ftp-srv_project ftp-srv: before 4.4.0

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N`
- GitHub: rating Medium
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9> (exploit, 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://www.npmjs.com/package/ftp-srv> (product, third-party-advisory, web)
- <https://github.com/autovance/ftp-srv/pull/224> (patch, third-party-advisory, web)
- <https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26299> (advisory)

## Sources

- CVE List: [CVE-2020-26299](https://www.cve.org/CVERecord?id=CVE-2020-26299), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-pmw4-jgxx-pcq9](https://github.com/advisories/GHSA-pmw4-jgxx-pcq9), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-26299](https://nvd.nist.gov/vuln/detail/CVE-2020-26299), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26299 · Whole record: https://cve.day/CVE-2020-26299.json · Rebuilt by cve.day 2026-11-25T22:57:57.322Z
