EXPOSURES › CVE-2026-27606
CVE-2026-27606
CRITICALCVE-2026-27606 in Rollup allows arbitrary file writes via path traversal, enabling persistent remote code execution by overwriting system files.
Versions of the Rollup JavaScript bundler prior to 2.80.0, 3.30.0, and 4.59.0 are vulnerable to arbitrary file write via path traversal, allowing attackers to overwrite critical system files and achieve persistent remote code execution. DIB organizations must ensure build pipelines and CI/CD environments using Rollup are patched to these versions immediately to prevent supply chain compromise and unauthorized system access. This is not a zero-day as patches exist, but the severity and RCE capability warrant high embarrassment due to the potential for widespread exploitation in unpatched environments.
Shame score — The vulnerability enables persistent remote code execution through arbitrary file writes, representing a severe supply chain risk that could compromise build artifacts and production systems if not patched.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
Rollup is a module bundler for JavaScript. Versions prior to 2.80.0, 3.30.0, and 4.59.0 of the Rollup module bundler (specifically v4.x and present in current source) is vulnerable to an Arbitrary File Write via Path Traversal. Insecure file name sanitization in the core engine allows an attacker to control output filenames (e.g., via CLI named inputs, manual chunk aliases, or malicious plugins) and use traversal sequences (`../`) to overwrite files anywhere on the host filesystem that the build process has permissions for. This can lead to persistent Remote Code Execution (RCE) by overwriting critical system or user configuration files. Versions 2.80.0, 3.30.0, and 4.59.0 contain a patch for the issue.