cve.bz

CVE-2026-27606 rollupjs rollup: Path traversal

8.8 highExploit referenceEPSS 1.6%Fix available

High (8.8) in rollupjs rollup. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in rollup 2.80.0, 3.30.0, 4.59.0.

On this page
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.

Severity

CVSS 4.0

8.8 high
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27606 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27606?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27606?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27606 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rollupjs:rollupbefore 2.80.0
rollupjs:rollupfrom 3.0.0 before 3.30.0
rollupjs:rollupfrom 4.0.0 before 4.59.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mw96-cpmx-2vgcnpmrollup<2.80.02.80.0
GHSA-mw96-cpmx-2vgcnpmrollup>=3.0.0 <3.30.03.30.0
GHSA-mw96-cpmx-2vgcnpmrollup>=4.0.0 <4.59.04.59.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-rollupno fix listedDEBIAN-CVE-2026-27606
Debian14node-rollup3.30.0-1DEBIAN-CVE-2026-27606
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morenode-rollupno fix listedUBUNTU-CVE-2026-27606
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.28-3.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-5.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-jwcrypto0:1.5.7-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-markdown0:3.10.2-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyOpenSSL0:26.0.0-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.3-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyjwt, python3.12-pyjwt+crypto0:2.12.1-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.4-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.28-3.el9apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-2.el9RHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el9apRHSA-2026:13512
19 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.5cockpit298-150500.3.12.1SUSE-SU-2026:2363-1
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-promu0.17.0-150000.3.30.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15golang-github-boynux-squid_exporter1.13.0-150000.1.12.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15golang-github-lusitaniae-apache_exporter1.0.10-150000.1.26.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15golang-github-prometheus-prometheus3.5.0-150000.3.67.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15grafana11.6.11-150000.1.90.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15spacecmd5.0.15-150000.3.142.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5dracut-saltboot1.1.0-150000.1.65.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5golang-github-QubitProducts-exporter_exporter0.4.0-150000.1.21.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5prometheus-blackbox_exporter0.26.0-150000.1.30.2SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5uyuni-tools0.1.38-150000.1.30.1SUSE-SU-2026:1013-1
SUSEMulti Linux Manager Tools Beta SLE-15golang-github-QubitProducts-exporter_exporter0.4.0-159000.2.2.1SUSE-SU-2026:1148-1
25 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dracut-saltboot1.1.0-150000.1.65.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-QubitProducts-exporter_exporter0.4.0-150000.1.21.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-boynux-squid_exporter1.13.0-150000.1.12.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-lusitaniae-apache_exporter1.0.10-150000.1.26.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-prometheus-promu0.17.0-150000.3.30.1SUSE-SU-2026:1013-1
openSUSELeap 15.6prometheus-blackbox_exporter0.26.0-150000.1.30.2SUSE-SU-2026:1013-1
openSUSELeap 15.6spacecmd5.0.15-150000.3.142.1SUSE-SU-2026:1013-1
openSUSETumbleweedheroic-games-launcher2.20.0-2.1openSUSE-SU-2026:10263-1
openSUSETumbleweedvelociraptor0.7.0.4.git185.a5708584-2.1openSUSE-SU-2026:11126-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important vulnerability affecting Red Hat products that utilize the Rollup JavaScript module bundler. Insecure filename sanitization combined with unsafe path resolution allows an attacker to perform arbitrary file writes via path traversal. This enables the use of traversal sequences in output filenames, potentially leading to persistent Remote Code Execution by overwriting critical system or user configuration files.

Red Hat's mitigation

To mitigate the risk of arbitrary file writes and remote code execution, ensure that build processes utilizing the Rollup module bundler are executed within a strictly controlled and isolated environment, such as a container with minimal privileges. Restrict the file system permissions of the user or service account running Rollup to only the directories absolutely necessary for its operation. Additionally, rigorously validate all inputs, including CLI arguments, manual chunk aliases, and third-party plugins, to prevent the introduction of malicious path traversal sequences.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20260422-2.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-0:2.5.20260422-2.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.8-1.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1777311120Fixed 2026-05-04RHSA-2026:13545
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1774545605Fixed 2026-03-30RHSA-2026:6174
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1775140647Fixed 2026-04-07RHSA-2026:6802
Red Hat OpenShift Dev Spaces 3.27devspaces/traefik-rhel9:1776718585Fixed 2026-04-23RHSA-2026:10175
Red Hat OpenShift Service Mesh 2.6openshift-service-mesh/kiali-rhel8:1773059917Fixed 2026-03-19RHSA-2026:5132
Red Hat OpenShift Service Mesh 2.6openshift-service-mesh/kiali-rhel8:1776191302Fixed 2026-04-16RHSA-2026:8483
Red Hat Quay 3.10quay/quay-rhel8:1773971077Fixed 2026-03-24RHSA-2026:5665
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-operator-bundleNot affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorNot affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Not affected
Red Hat AMQ Broker 7org.jolokia-jolokia-parentNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Not affected
26 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27606.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON