basic-ftp
6.2.6 · 4 Nov 2026MIT33.7M / weekRepositoryHomepagenpmAtom feed
Upgrading basic-ftp From 5.3.1 to 6.2.6
11 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 3
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.0.0
Security
Fixes 3 advisories affecting 5.3.1
- basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name causes DoS in Client.list()moderate · GHSA-5pm8-86m8-9m6r
- basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)high · GHSA-c475-qrg2-pj4r
- basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LFmoderate · GHSA-r4jh-29pc-gfqr
- 6.2.6
Fixed: Path traversal in
downloadToDir(), fixes github.com/patrickjuchli/basic-ftp/security/adv…. - 6.2.4
Fixed: A fact named
__proto__in an MLSD directory listing made listing a directory fail with a TypeError, fixes github.com/patrickjuchli/basic-ftp/security/adv…. - 6.2.3
Fixed: A password or a path of a resumed download containing control characters could throw an uncaught exception and terminate the process, fixes github.com/patrickjuchli/basic-ftp/security/adv….
- 6.2.2
Fixed: Protect against excessive CPU use when detecting an MLSD directory listing or parsing a PASV response, fixes github.com/patrickjuchli/basic-ftp/security/adv….
- 6.2.1
Fixed: Protect against excessive CPU use when parsing a directory listing, fixes github.com/patrickjuchli/basic-ftp/security/adv….
- 6.0.2
Fixed: Implicit FTPS transfers against servers requiring TLS session reuse failed with "425 ... TLS session of data connection not resumed" on Node.js with the CVE-2026-48934 fix (22.23.0+, 24.17.0+, 26.3.1+).
8 other lines we could not sort, mostly version bumps
- 6.2.5
Changed: Releases are now built on GitHub Actions and published with npm provenance. Read RELEASING.md for the complete process.
- 6.2.3
Fixed: A command rejected for containing control characters left the client unusable.
- 6.2.3
Fixed: The error for a rejected
PASScommand included the password. - 6.2.1
Fixed: A transfer could time out right after a slow local source or destination stopped holding it up, before the server had a chance to continue.
- 6.2.0
Changed: Timeout tracking during data transfers now only applies to the server, not a slow local source or destination.
- 6.2.0
Fixed: A failed transfer could report its failure twice and cancel an unrelated command issued afterwards, leaving it without a response.
- 6.1.0
Changed: Uploading from a local path now throws if the file changes while it's being read, instead of reporting the incomplete upload as successful.
- 6.0.1
Fixed: Use and renew TLS 1.3 session tickets for data connections. (Thanks for testing, @dennisameling)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.