Skip to main content
← All vulnerabilities
CVE-2026-27606GHSA-MW96-CPMX-2VGC

Rollup 4 has Arbitrary File Write via Path Traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.80.0, 3.30.0, 4.59.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • rollup rollup

    fixed in 2.80.0; From 3.0.0 · fixed in 3.30.0; From 4.0.0 · fixed in 4.59.0

  • rollupnpm

    fixed in 2.80.0

  • rollupnpm

    From 3.0.0 · fixed in 3.30.0

  • rollupnpm

    From 4.0.0 · fixed in 4.59.0

References 8

GitHub · rollup/rollup

GitHub · AaaronP/Seguridad---Proyecto-de-investigaci-n