# CVE-2026-53486: decompress: Archive extraction can create files and links outside the target directory

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-07-06T20:27:38.000Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-mp2f-45pm-3cg9
- Weaknesses: CWE-22, CWE-59, CWE-732
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

The decompress package for Node.js extracts archives. Prior to 10.2.1 and 11.1.3, archive extraction can create files and links outside the target directory. When extracting an archive to a directory, a crafted archive can read or write files outside that directory because hardlink and symlink entries are created without checking where targets point, path containment used a string prefix comparison, and file modes failed to remove setuid, setgid, or sticky bits. This issue is fixed in @xhmikosr/decompress versions 10.2.1 and 11.1.3.

(As written by CVE List.)

## Affected

- XhmikosR decompress: < 10.2.1; >= 11.0.0, < 11.1.3
- @xhmikosr/decompress (npm): before 10.2.1; from 11.0.0 before 11.1.3
- decompress (npm): up to 4.2.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9> (web)
- <https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd>
- <https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae>
- <https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89>
- <https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd>
- <https://github.com/XhmikosR/decompress/releases/tag/v10.2.1>
- <https://github.com/XhmikosR/decompress/releases/tag/v11.1.3>
- <https://github.com/XhmikosR/decompress/commit/281cefa> (web)
- <https://github.com/XhmikosR/decompress/commit/60b5299> (web)
- <https://github.com/XhmikosR/decompress/commit/aca5aac> (web)
- <https://github.com/XhmikosR/decompress> (package)

## Sources

- CVE List: [CVE-2026-53486](https://www.cve.org/CVERecord?id=CVE-2026-53486), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-mp2f-45pm-3cg9](https://github.com/advisories/GHSA-mp2f-45pm-3cg9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-53486](https://nvd.nist.gov/vuln/detail/CVE-2026-53486), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-53486 · Whole record: https://cve.day/CVE-2026-53486.json · Rebuilt by cve.day 2026-11-25T22:59:28.232Z
