---
id: CVE-2026-27606
title: Rollup is a module bundler for JavaScript
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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
vendor: rollupjs
product: rollup
affected:
  - rollup < 2.80.0
  - 'rollup >= 3.0.0, < 3.30.0'
  - 'rollup >= 4.0.0, < 4.59.0'
patched:
  - rollup 4.59.0
published: '2026-02-25'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T13:18:01.097'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-27606'
references:
  - url: >-
      https://github.com/rollup/rollup/commit/c60770d7aaf750e512c1b2774989ea4596e660b2
    label: security-advisories@github.com
  - url: >-
      https://github.com/rollup/rollup/commit/c8cf1f9c48c516285758c1e11f08a54f304fd44e
    label: security-advisories@github.com
  - url: >-
      https://github.com/rollup/rollup/commit/d6dee5e99bb82aac0bee1df4ab9efbde455452c3
    label: security-advisories@github.com
  - url: 'https://github.com/rollup/rollup/releases/tag/v2.80.0'
    label: security-advisories@github.com
  - url: 'https://github.com/rollup/rollup/releases/tag/v3.30.0'
    label: security-advisories@github.com
  - url: 'https://github.com/rollup/rollup/releases/tag/v4.59.0'
    label: security-advisories@github.com
  - url: 'https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc'
    label: security-advisories@github.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:10175'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:13508'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:13512'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:13545'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:5132'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:5649'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:5665'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6174'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6802'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:8483'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-27606'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2442530'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27606.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-27606'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-27606'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-02-25T20:09:59.552224Z'
scores:
  nvd: 9.8
  cna: 8.8
  vendor: 9.1
epss: 0.01545
epssPercentile: 0.73929
ingestedAt: '2026-07-01T15:50:58.578Z'
---

## Overview

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.

## Affected

- `rollup < 2.80.0`
- `rollup >= 3.0.0, < 3.30.0`
- `rollup >= 4.0.0, < 4.59.0`

## Remediation

Upgrade past the affected range:

- `rollup 4.59.0`

## Vendor advisories

- **RHSA-2026:13512** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9 · released 2026-05-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:13512)
- **RHSA-2026:13508** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 for RHEL 9 · released 2026-05-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:13508)
- **RHSA-2026:13545** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 · released 2026-05-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:13545)
- **RHSA-2026:6174** · Red Hat · fixed in: Red Hat Developer Hub 1.8 · released 2026-03-30 · [advisory](https://access.redhat.com/errata/RHSA-2026:6174)
- **RHSA-2026:6802** · Red Hat · fixed in: Red Hat Developer Hub 1.9 · released 2026-04-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:6802)
- **RHSA-2026:10175** · Red Hat · fixed in: Red Hat OpenShift Dev Spaces 3.27 · released 2026-04-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:10175)
- **RHSA-2026:8483** · Red Hat · fixed in: Red Hat OpenShift Service Mesh 2.6 · released 2026-04-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:8483)
- **RHSA-2026:5132** · Red Hat · fixed in: Red Hat OpenShift Service Mesh 2.6 · released 2026-03-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:5132)
- **RHSA-2026:5665** · Red Hat · fixed in: Red Hat Quay 3.10 · released 2026-03-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:5665)
- **RHSA-2026:5649** · Red Hat · fixed in: Red Hat Trusted Artifact Signer 1.3 · released 2026-03-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:5649)
- **Red Hat VEX** · Important · affected: OpenShift Pipelines, Red Hat Ansible Automation Platform 2, Red Hat Build of Podman Desktop - Tech Preview, Red Hat Fuse 7, Red Hat OpenShift distributed tracing 3, Red Hat Single Sign-On 7, … · no fix planned: OpenShift Pipelines, Red Hat Build of Podman Desktop - Tech Preview, Red Hat Fuse 7, Red Hat Single Sign-On 7, … · updated 2026-09-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27606.json)
