CVE-2026-27606: Vulnerability in Rollupjs Rollup
Critical. 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...
npm, CWE-22
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 1.8 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-mw96-cpmx-2vgc
- EU ID
- EUVD-2026-8589
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-22
- Published
- 25 Feb 2026
- Last change
- 10 Sept 2026
- Likelihood rank
- Higher than 80 % of all rated vulnerabilities
- Analysis status
- Modified
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Rollupjs Rollup Before 2.80.0; From 3.0.0 before 3.30.0; From 4.0.0 before 4.59.0. Fixed in 2.80.0, 3.30.0, 4.59.0
Affected packages
Vulnerable version ranges and fixed releases
- rollup npm, Affected before 2.80.0. Fixed in 2.80.0
Advisories
Vendor and security advisories
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:13508
- access.redhat.com/errata/RHSA-2026:13512
- access.redhat.com/errata/RHSA-2026:13545
- access.redhat.com/errata/RHSA-2026:5132
- access.redhat.com/errata/RHSA-2026:5649
- access.redhat.com/errata/RHSA-2026:5665
- access.redhat.com/errata/RHSA-2026:6174
- access.redhat.com/errata/RHSA-2026:6802
- access.redhat.com/errata/RHSA-2026:8483
- access.redhat.com/security/cve/CVE-2026-27606
- bugzilla.redhat.com/show_bug.cgi
Patches and fixes
Updates, commits and release notes
- github.com/rollup/rollup/commit/c60770d7aaf750e512c1b2774989ea4596e660b2
- github.com/rollup/rollup/commit/c8cf1f9c48c516285758c1e11f08a54f304fd44e
- github.com/rollup/rollup/commit/d6dee5e99bb82aac0bee1df4ab9efbde455452c3
- github.com/rollup/rollup/releases/tag/v2.80.0
- github.com/rollup/rollup/releases/tag/v3.30.0
- github.com/rollup/rollup/releases/tag/v4.59.0
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Rollup vulnerabilities Recent advisories, watch this product