Skip to content

[GHSA-h39j-r5qq-r9mm] All versions of the package decompress are vulnerable to...#8044

Closed
Alemmi wants to merge 1 commit into
Alemmi/advisory-improvement-8044from
Alemmi-GHSA-h39j-r5qq-r9mm
Closed

[GHSA-h39j-r5qq-r9mm] All versions of the package decompress are vulnerable to...#8044
Alemmi wants to merge 1 commit into
Alemmi/advisory-improvement-8044from
Alemmi-GHSA-h39j-r5qq-r9mm

Conversation

@Alemmi

@Alemmi Alemmi commented Jun 16, 2026

Copy link
Copy Markdown

Updates

  • Affected products
  • CVSS v3
  • CVSS v4
  • CWEs
  • References
  • Source code location
  • Summary

Comments
I'm the researcher that found this vuln, submitted via snyk. Just updated the vulnerable versions of the package

Copilot AI review requested due to automatic review settings June 16, 2026 08:56
Copilot stopped work on behalf of Alemmi due to an error June 16, 2026 08:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 affected range 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"
}
]
}
]
}
],

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
},
@github-actions github-actions Bot changed the base branch from main to Alemmi/advisory-improvement-8044 June 16, 2026 08:58
@Alemmi Alemmi closed this Jun 16, 2026
@github-actions github-actions Bot deleted the Alemmi-GHSA-h39j-r5qq-r9mm branch June 16, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants