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

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related