Skip to main content
EPSS 1.5%top 26%

Rollup 4 has Arbitrary File Write via Path Traversal (CVE-2026-27606)

0
High
Published: 08/13/2026 (08/13/2026, 17:32:32 UTC)
Source: GCVE Database
Product: rollup

Description

Rollup module bundler versions from 2.56.3 up to but not including 4.59.0 contain a vulnerability allowing arbitrary file write via path traversal. The issue arises from improper sanitization of output filenames, permitting path traversal sequences like '../' to bypass filters, combined with unsafe path resolution that writes files outside the intended output directory. This can enable attackers to overwrite arbitrary files on the host filesystem with the permissions of the build process, potentially leading to persistent remote code execution or supply chain compromise.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. 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

Affected software

Homebrewmore threats →ghsa
rollup
pkg:brew/rollup
Affected versions
>=2.56.3 <4.59.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 12:28:49 UTC

Technical Analysis

The Rollup module bundler (versions >=2.56.3 <4.59.0) suffers from an arbitrary file write vulnerability due to improper sanitization of user-controlled output filenames and unsafe path resolution. The sanitizer regex excludes periods and slashes, allowing path traversal sequences to remain intact. When combined with path.resolve usage in the output writing function, this allows attackers to specify output filenames with '../' sequences that escape the designated output directory and overwrite arbitrary files on the host filesystem. This flaw can be exploited via CLI named inputs, manual chunk aliases, or malicious plugins. Proof-of-concept exploits demonstrate overwriting files outside the output directory, including sensitive system files if permissions allow.

Potential Impact

This vulnerability enables attackers to write arbitrary files anywhere on the host filesystem accessible by the build process. This can lead to overwriting critical system or user configuration files such as SSH authorized keys or shell configuration files, potentially resulting in persistent remote code execution. It also poses a supply chain risk if exploited via malicious plugins or dependencies. The severity is high due to the potential for system compromise and persistence.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade Rollup to version 4.59.0 or later where the issue is fixed. Until patched, avoid using untrusted input for output filenames or chunk aliases. Review and restrict build process permissions to minimize potential impact. No vendor advisory content contradicts these recommendations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-rollup-CVE-2026-27606
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ac2458012601ec6a3164065

Added to database: 10/04/2026, 12:24:32 UTC

Last enriched: 10/04/2026, 12:28:49 UTC

Last updated: 10/04/2026, 16:08:37 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses