Vulnerability · Published Feb 25, 2026 · Assigned by GitHub_M

CVE-2026-27606Rollup 4 has Arbitrary File Write via Path Traversal

Critical 9.1

In plain English

A critical-severity path traversal in rollup from rollup. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.7%top 23.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-rollupno fix listedDEBIAN-CVE-2026-27606
Debian:13node-rollupno fix listedDEBIAN-CVE-2026-27606
Debian:14node-rollup3.30.0-1DEBIAN-CVE-2026-27606
Ubuntu:22.04:LTSnode-rollupno fix listedUBUNTU-CVE-2026-27606
Ubuntu:24.04:LTSnode-rollupno fix listedUBUNTU-CVE-2026-27606
Ubuntu:25.10node-rollupno fix listedUBUNTU-CVE-2026-27606
Ubuntu:26.04:LTSnode-rollupno fix listedUBUNTU-CVE-2026-27606
Ubuntu:26.10node-rollupno fix listedUBUNTU-CVE-2026-27606
npmrollup4.59.0GHSA-mw96-cpmx-2vgc
npmrollup3.30.0GHSA-mw96-cpmx-2vgc
npmrollup2.80.0GHSA-mw96-cpmx-2vgc

Affected products (as reported)

VendorProductVersions
rollup rollup < 2.80.0>= 3.0.0, < 3.30.0>= 4.0.0, < 4.59.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References