[GHSA-h39j-r5qq-r9mm] All versions of the package decompress are vulnerable to...#8044
Closed
Alemmi wants to merge 1 commit into
Closed
[GHSA-h39j-r5qq-r9mm] All versions of the package decompress are vulnerable to...#8044Alemmi wants to merge 1 commit into
Alemmi wants to merge 1 commit into
Conversation
Copilot stopped work on behalf of
Alemmi due to an error
June 16, 2026 08:56
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates an unreviewed GHSA advisory entry for decompress (CVE-2026-10732) to better describe the vulnerability and capture impacted versions and metadata.
Changes:
- Added a short summary and expanded the advisory with an
affectedrange for the npm package. - Updated CVSS scoring representation to CVSS v4 only.
- Adjusted references and expanded CWE classification.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "CVE-2026-10732" | ||
| ], | ||
| "summary": "ZipSlip in decompress", | ||
| "details": "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.\n\n**Note:**\n\nThis bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).", |
Comment on lines
+17
to
37
| "affected": [ | ||
| { | ||
| "package": { | ||
| "ecosystem": "npm", | ||
| "name": "decompress" | ||
| }, | ||
| "ranges": [ | ||
| { | ||
| "type": "ECOSYSTEM", | ||
| "events": [ | ||
| { | ||
| "introduced": "0" | ||
| }, | ||
| { | ||
| "last_affected": "4.2.0" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ], |
Author
There was a problem hiding this comment.
The latest version available is 4.2.0 and since the package is not maintained anymore, no version will be published soon
Comment on lines
44
to
50
| "type": "WEB", | ||
| "url": "https://github.com/kevva/decompress/pull/112" | ||
| "url": "https://github.com/Alemmi/cve/tree/main/CVE-2026-10732" | ||
| }, | ||
| { | ||
| "type": "WEB", | ||
| "url": "https://gist.github.com/Alemmi/409c3cc148c39522c6d6a8538b0e1f9e" | ||
| "type": "PACKAGE", | ||
| "url": "https://github.com/kevva/decompress/blob/master/index.js" | ||
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
I'm the researcher that found this vuln, submitted via snyk. Just updated the vulnerable versions of the package