Security mailing lists by PureSourceCode

CVE-2020-26299

CRITICAL 9.6CVSS 3.1

File 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ftp-srv_project ftp-srv
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.