CVE-2026-27606
Rollup 4 has Arbitrary File Write via Path Traversal
Also known as GHSA-mw96-cpmx-2vgc
Mitigation
- Upgrade rollup to one of 2.80.0, 3.30.0, 4.59.0 (or later in the same release line).
Who should check
- Projects that depend on npm package rollup (< 2.80.0)
- Anyone running rollup < 2.80.0; >= 3.0.0, < 3.30.0; >= 4.0.0, < 4.59.0
Vulnerability facts
- Affected
- rollup < 2.80.0
- Fixed in
- 2.80.0, 3.30.0, 4.59.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 1.84% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-22
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-27606. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-27606.md Affected: rollup < 2.80.0 Fixed in: 2.80.0, 3.30.0, 4.59.0 Steps: 1. Search this machine and project for rollup (npm), rollup: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:13508
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/errata/RHSA-2026:6174
- https://access.redhat.com/errata/RHSA-2026:6802
- https://access.redhat.com/errata/RHSA-2026:10175
- https://access.redhat.com/errata/RHSA-2026:8483
- https://access.redhat.com/errata/RHSA-2026:5132
- https://access.redhat.com/errata/RHSA-2026:5665
- https://access.redhat.com/errata/RHSA-2026:5649
- https://nvd.nist.gov/vuln/detail/CVE-2026-27606
Patches
Other
- https://github.com/rollup/rollup/releases/tag/v2.80.0
- https://github.com/rollup/rollup/releases/tag/v3.30.0
- https://github.com/rollup/rollup/releases/tag/v4.59.0
- https://access.redhat.com/security/cve/CVE-2026-27606
- https://bugzilla.redhat.com/show_bug.cgi?id=2442530
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27606.json
- https://github.com/rollup/rollup
FAQ
Is CVE-2026-27606 being exploited?
There is no confirmed exploitation: CVE-2026-27606 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.84% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-27606?
High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-27606?
rollup < 2.80.0.
Is there a fix for CVE-2026-27606?
Yes. Fixed in 2.80.0, 3.30.0, 4.59.0. Upgrade rollup to one of 2.80.0, 3.30.0, 4.59.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-27606?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.