Title: Security: Replace vulnerable `decompress` dependency with `unzipper` (CVE-2026-53486) · Issue #1150 · browserstack/browserstack-cypress-cli · GitHub
Open Graph Title: Security: Replace vulnerable `decompress` dependency with `unzipper` (CVE-2026-53486) · Issue #1150 · browserstack/browserstack-cypress-cli
X Title: Security: Replace vulnerable `decompress` dependency with `unzipper` (CVE-2026-53486) · Issue #1150 · browserstack/browserstack-cypress-cli
Description: Summary browserstack-cypress-cli depends on decompress@4.2.1, which has a critical path traversal vulnerability (CVE-2026-53486). There is no patched version available upstream — the package has been unmaintained since 2018. This trigger...
Open Graph Description: Summary browserstack-cypress-cli depends on decompress@4.2.1, which has a critical path traversal vulnerability (CVE-2026-53486). There is no patched version available upstream — the package has be...
X Description: Summary browserstack-cypress-cli depends on decompress@4.2.1, which has a critical path traversal vulnerability (CVE-2026-53486). There is no patched version available upstream — the package has be...
Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/issues/1150
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Security: Replace vulnerable `decompress` dependency with `unzipper` (CVE-2026-53486)","articleBody":"## Summary\n\n`browserstack-cypress-cli` depends on [`decompress@4.2.1`](https://www.npmjs.com/package/decompress), which has a **critical** path traversal vulnerability ([CVE-2026-53486](https://github.com/advisories/GHSA-mp2f-45pm-3cg9)). There is no patched version available upstream — the package has been unmaintained since 2018.\n\nThis triggers Dependabot/npm audit critical alerts for all consumers of `browserstack-cypress-cli >= 1.24.2`.\n\n## Affected Files\n\n- `bin/helpers/buildArtifacts.js:14` — `const decompress = require('decompress');`\n- `bin/helpers/reporterHTML.js:9` — `const decompress = require('decompress');`\n\n## Proposed Fix\n\nYou already have [`unzipper@^0.12.3`](https://www.npmjs.com/package/unzipper) as a dependency, and `buildArtifacts.js` already uses it as a fallback (line ~160). The natural migration is to:\n\n1. Replace `decompress()` calls with `unzipper.Extract()` in both files\n2. Remove `decompress` from `package.json` dependencies\n\nThis would eliminate the vulnerability for all downstream consumers without any breaking API changes.\n\n## Impact\n\n- All versions from 1.24.2 to 1.36.12 are affected\n- npm audit reports 2 critical vulnerabilities (decompress itself + browserstack-cypress-cli depending on it)\n- Organizations with zero-critical-alert policies are forced to dismiss or patch\n\n## Workaround\n\nConsumers can dismiss the Dependabot alert since the exploitability is low (input comes exclusively from BrowserStack's authenticated HTTPS API), but this is not ideal for compliance.\n\n## References\n\n- Advisory: https://github.com/advisories/GHSA-mp2f-45pm-3cg9\n- CVE: CVE-2026-53486\n- decompress repo (unmaintained): https://github.com/kevva/decompress","author":{"url":"https://github.com/camilaadimas","@type":"Person","name":"camilaadimas"},"datePublished":"2026-07-07T19:49:47Z","url":"https://github.com/browserstack/browserstack-cypress-cli/issues/1150"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f7ebe03-3454-edf5-e6c3-89078fb0671f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBBA:3DB18D:61495D:84911B:6B04425A |
| html-safe-nonce | f4c330ee38b558bd02785242c82553742a107191dde006bf65e369c8230a1691 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkJBOjNEQjE4RDo2MTQ5NUQ6ODQ5MTFCOjZCMDQ0MjVBIiwidmlzaXRvcl9pZCI6Ijc2Mjc1NDUzNTM2MTEwMjQyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be37dac871f9533a18a740175a35c0e0aede0d81a9787393aef5d3a102c35cd2 |
| hovercard-subject-tag | issue:4831729557 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-cypress-cli/1150/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d50e2ba106e37c61e4412b0203194ea331498473be3a88fad0e80a7bc21c581/browserstack/browserstack-cypress-cli/issues/1150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d50e2ba106e37c61e4412b0203194ea331498473be3a88fad0e80a7bc21c581/browserstack/browserstack-cypress-cli/issues/1150 |
| og:image:alt | Summary browserstack-cypress-cli depends on decompress@4.2.1, which has a critical path traversal vulnerability (CVE-2026-53486). There is no patched version available upstream — the package has be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | camilaadimas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 242935045 |
| octolytics-dimension-repository_nwo | browserstack/browserstack-cypress-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 242935045 |
| octolytics-dimension-repository_network_root_nwo | browserstack/browserstack-cypress-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width