Indonesia Healthcare Corporation IHC ICT Cybersecurity emblem
Theme
Language
Advisory BSSN Critical · CVSS 9.1

Security Advisory CVE-2026-27699: Kerentanan pada Library Basic FTP untuk Node.js

16 March 2026 ·CVE-2026-27699

Summary

Security Advisory regarding a path traversal vulnerability in the basic-ftp library for Node.js (CVE-2026-27699). This vulnerability allows files to be written outside the intended download directory during the download process from an FTP server.

Affected Products

  • Patrickjuchli basic-ftp prior to version 5.2.0

Technical Details

A path traversal vulnerability exists in the basic-ftp library for Node.js, specifically within the downloadToDir() method. This vulnerability allows an FTP server to send filenames containing ../ sequences, enabling files to be written outside the designated download directory.

Impact

This condition can be exploited to place malicious files on the target system. If the written file is executable or affects system configuration, the risk can escalate to code execution or access abuse.

Mitigation

  • Update basic-ftp to version 5.2.0 or later to obtain the vulnerability fix.
  • Implement filename validation to block malicious patterns such as ../ before the file writing process.
  • Restrict directory permissions so the application can only write to designated locations.

References

  • Security Advisory CVE-2026-27699

Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.

Advisory Lain