REDHAT-BUG-2442530: Path Traversal

Published Feb 25, 2026
·
Updated

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 Software

1 affected component
npm/rollup<2.80.0, <3.30.0, <4.59.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rollup to a version that resolves this vulnerability.

    Fixed in 2.80.0
  2. Upgrade

    Upgrade rollup to a version that resolves this vulnerability.

    Fixed in 3.30.0
  3. Upgrade

    Upgrade rollup to a version that resolves this vulnerability.

    Fixed in 4.59.0

Event History

Feb 25, 2026
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2442530?

The severity of REDHAT-BUG-2442530 is classified as high with a score of 7.

2

How do I fix REDHAT-BUG-2442530?

To fix REDHAT-BUG-2442530, update to versions 2.80.0, 3.30.0, or 4.59.0 or later of the Rollup module bundler.

3

What types of vulnerabilities does REDHAT-BUG-2442530 involve?

REDHAT-BUG-2442530 involves an Arbitrary File Write vulnerability due to Path Traversal.

4

Which versions are affected by the REDHAT-BUG-2442530 vulnerability?

Versions prior to 2.80.0, 3.30.0, and 4.59.0 of the Rollup module bundler are affected by REDHAT-BUG-2442530.

5

What is the impact of REDHAT-BUG-2442530?

The impact of REDHAT-BUG-2442530 allows an attacker to perform arbitrary file writes due to insecure file name sanitization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203