Live threats

All CVEs / Rollupjs

CVE-2026-27606Rollupjs Rollup

High 8.8 No auth needed

Priority
68
CVSS 4.0
8.8
EPSS
—
Auth required
No
Published
Feb 25, 2026
Updated
Sep 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rollup.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm rollup < 2.80.0 2.80.0 npm install rollup@2.80.0
npm rollup ≥ 3.0.0 < 3.30.0 3.30.0 npm install rollup@3.30.0
npm rollup ≥ 4.0.0 < 4.59.0 4.59.0 npm install rollup@4.59.0

Per OSV / GitHub Advisories (GHSA-mw96-cpmx-2vgc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rollupjsrollup< 2.80.0
rollupjsrollup≥ 3.0.0 < 3.30.0
rollupjsrollup≥ 4.0.0 < 4.59.0

Official advisories

Also: SUSE (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.