CVE-2026-27606

9.8 CRITICAL
Published: February 25, 2026 Modified: February 25, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/rollup/rollup/releases/tag/v2.80.0
Source: security-advisories@github.com
Product
https://github.com/rollup/rollup/releases/tag/v3.30.0
Source: security-advisories@github.com
Product
https://github.com/rollup/rollup/releases/tag/v4.59.0
Source: security-advisories@github.com
Product
https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc
Source: security-advisories@github.com
Exploit Vendor Advisory

7 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
0.6%
70th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

rollupjs