Rollup 4 has Arbitrary File Write via Path Traversal

Summary

CVECVE-2026-27606
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-25 03:16:04 UTC
Updated2026-06-30 03:17:56 UTC
DescriptionRollup 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.

Risk And Classification

Primary CVSS: v4.0 8.8 HIGH from [email protected]

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary8.8HIGHCVSS: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/C...
4.0CNADECLARED8.8HIGHCVSS: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
3.1[email protected]Primary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1ADPCVSS9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Rollupjs Rollup All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Rollup Rollup affected < 2.80.0 Not specified
CNA Rollup Rollup affected >= 3.0.0, < 3.30.0 Not specified
CNA Rollup Rollup affected >= 4.0.0, < 4.59.0 Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.8 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.9 Not specified Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces 3.27 Not specified Not specified
ADP Red Hat Red Hat OpenShift Service Mesh 2.6 Not specified Not specified
ADP Red Hat Red Hat Quay 3.1 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer 1.3 Not specified Not specified
ADP Red Hat OpenShift Pipelines Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Podman Desktop - Tech Preview Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat OpenShift Distributed Tracing 3 Not specified Not specified
ADP Red Hat Red Hat Single Sign-On 7 Not specified Not specified
ADP Red Hat Self-service Automation Portal 2 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 10 Not specified Not specified
ADP Red Hat OpenShift Service Mesh 3 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7 Not specified Not specified
ADP Red Hat Red Hat Build Of OptaPlanner 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AI RHEL AI 3 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified

References

ReferenceSourceLinkTags
github.com/rollup/rollup/releases/tag/v3.30.0 [email protected] github.com Product
access.redhat.com/errata/RHSA-2026:13512 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/rollup/rollup/releases/tag/v4.59.0 [email protected] github.com Product
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
github.com/rollup/rollup/commit/d6dee5e99bb82aac0bee1df4ab9efbde455452c3 [email protected] github.com Patch
github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc [email protected] github.com Exploit, Vendor Advisory
access.redhat.com/errata/RHSA-2026:5649 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:13508 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:6802 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:6174 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:5132 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27606.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
github.com/rollup/rollup/commit/c8cf1f9c48c516285758c1e11f08a54f304fd44e [email protected] github.com Patch
access.redhat.com/security/cve/CVE-2026-27606 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:10175 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/rollup/rollup/commit/c60770d7aaf750e512c1b2774989ea4596e660b2 [email protected] github.com Patch
access.redhat.com/errata/RHSA-2026:8483 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:13545 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/rollup/rollup/releases/tag/v2.80.0 [email protected] github.com Product
access.redhat.com/errata/RHSA-2026:5665 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-02-25T04:01:24.449ZReported to Red Hat.
ADP2026-02-25T02:08:06.682ZMade public.

Solutions

ADP: RHSA-2026:13512: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9

ADP: RHSA-2026:13508: Red Hat Ansible Automation Platform 2.6 for RHEL 9

ADP: RHSA-2026:13545: Red Hat Ansible Automation Platform 2.6

ADP: RHSA-2026:6174: Red Hat Developer Hub 1.8

ADP: RHSA-2026:6802: Red Hat Developer Hub 1.9

ADP: RHSA-2026:10175: Red Hat OpenShift Dev Spaces 3.27

ADP: RHSA-2026:8483: Red Hat OpenShift Service Mesh 2.6

ADP: RHSA-2026:5132: Red Hat OpenShift Service Mesh 2.6

ADP: RHSA-2026:5665: Red Hat Quay 3.1

ADP: RHSA-2026:5649: Red Hat Trusted Artifact Signer 1.3

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report