CVE-2026-27606: Rollup - Path Traversal
- Cve: CVE-2026-27606
- Name: Rollup - Path Traversal
- 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.
- Impact: Attackers can overwrite files on the host filesystem, potentially leading to persistent remote code execution.
- Remediation: Upgrade to versions 2.80.0, 3.30.0, or 4.59.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01627
- Epss percentile: 0.76679
- Assignee: [email protected]
- Published at: 2026-02-25T03:16:04Z
- Age in days: 272
- Modified at: 2026-09-10T13:18:01Z
- Patch available: yes
- Public exploits total: 2
- References total: 20
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27606
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc | nvd | 2026-02-25 |
| https://github.com/AaaronP/Seguridad---Proyecto-de-investigaci-n | poc-in-github | 2026-10-11 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rollupjs:rollup | >= 4.0.0, < 4.59.0; >= 3.0.0, < 3.30.0; < 2.80.0 | no | nvd | /v1/products/rollupjs/rollup |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rollup/rollup | commit, fix, package, releases, security_advisory | yes | /v1/repositories/rollup/rollup |
Index
- Repositories: 873
- Repositories high signal: 6
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-02-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts