REDHAT-BUG-2485376: Path Traversal

Published Jun 5, 2026
·
Updated

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive.

Note:

This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for CVE-2020-12265.

Affected Software

1 affected component
npm/decompress

Event History

Jun 5, 2026
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2485376?

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

2

What vulnerability does REDHAT-BUG-2485376 address?

REDHAT-BUG-2485376 addresses an Arbitrary File Write vulnerability via Archive Extraction, often referred to as Zip Slip.

3

How do I fix REDHAT-BUG-2485376?

To fix REDHAT-BUG-2485376, update the decompress package to the latest version that resolves this vulnerability.

4

Which software is affected by REDHAT-BUG-2485376?

The software affected by REDHAT-BUG-2485376 is npm/decompress.

5

What type of attack can REDHAT-BUG-2485376 enable?

REDHAT-BUG-2485376 can enable a Path Traversal attack, allowing arbitrary file writes.

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