CVE-2026-27606

NameCVE-2026-27606
DescriptionRollup 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-rollup (PTS)bullseye2.38.4-1vulnerable
bookworm3.15.0-1+deb12u1vulnerable
forky, trixie3.29.5-1vulnerable
sid3.29.5-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-rollupsource(unstable)(unfixed)

Notes

https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc
Fixed by: https://github.com/rollup/rollup/commit/c60770d7aaf750e512c1b2774989ea4596e660b2 (v4.59.0)
Fixed by: https://github.com/rollup/rollup/commit/c8cf1f9c48c516285758c1e11f08a54f304fd44e (v3.30.0)
Fixed by: https://github.com/rollup/rollup/commit/d6dee5e99bb82aac0bee1df4ab9efbde455452c3 (v2.28.0)

Search for package or bug name: Reporting problems