Title: Bump `glob` to ^14.0.2 in `@sentry/bundler-plugins` and `@sentry/react-router`: `npm audit` flags GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249 · Issue #25969 · getsentry/sentry-javascript · GitHub
Open Graph Title: Bump `glob` to ^14.0.2 in `@sentry/bundler-plugins` and `@sentry/react-router`: `npm audit` flags GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249 · Issue #25969 · getsentry/sentry-javascript
X Title: Bump `glob` to ^14.0.2 in `@sentry/bundler-plugins` and `@sentry/react-router`: `npm audit` flags GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249 · Issue #25969 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25969
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bump `glob` to ^14.0.2 in `@sentry/bundler-plugins` and `@sentry/react-router`: `npm audit` flags GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/react-router\n\n### SDK Version\n\n11.10.0 (also `@sentry/vite-plugin` 11.10.0 and `@sentry/node` 11.10.0)\n\n### Framework Version\n\nReact Router 8.5.1, Vite 8.3.5\n\n### Link to Sentry event\n\nN/A (install-time dependency issue)\n\n### Reproduction Example/SDK Setup\n\n```sh\nmkdir repro && cd repro\necho '{\"name\":\"repro\",\"private\":true}' > package.json\nnpm install --package-lock-only --ignore-scripts @sentry/react-router@11.10.0 @sentry/vite-plugin@11.10.0\nnpm ls glob minimatch --package-lock-only\nnpm audit --package-lock-only\n```\n\nNode 26.12.0, npm 11.20.0.\n\n### Steps to Reproduce\n\n1. Install `@sentry/react-router@11.10.0` (or `@sentry/vite-plugin@11.10.0`, or `@sentry/node@11.10.0`, which depends on `@sentry/bundler-plugins`).\n2. Run `npm audit`.\n\n### Expected Result\n\nNo advisories coming from Sentry's own dependency ranges, given that fixed releases of `glob` and `minimatch` exist.\n\n### Actual Result\n\n`glob` resolves to 13.0.6 and `minimatch` to 10.2.6:\n\n```\n`-- @sentry/react-router@11.10.0\n +-- @sentry/bundler-plugins@11.10.0\n | `-- glob@13.0.6 deduped\n `-- glob@13.0.6\n `-- minimatch@10.2.6\n```\n\n`npm audit` reports 6 moderate vulnerabilities, all from these two advisories, with \"No fix available\":\n\n- [GHSA-3g3m-2fjr-6pw4](https://github.com/advisories/GHSA-3g3m-2fjr-6pw4) glob 3.0.0 - 14.0.1, \"AbortSignal cancellation bypass allows post-timeout filesystem traversal\". First patched version: 14.0.2.\n- [GHSA-g3hv-75wg-m249](https://github.com/advisories/GHSA-g3hv-75wg-m249) minimatch \u003c11.0.1, \"potential denial of service via globparts amplification\". glob 14 depends on `minimatch@^11.0.2`.\n\nBoth were published on 2026-10-30. `@sentry/bundler-plugins@11.10.0` and `@sentry/react-router@11.10.0` declare `glob@^13.0.6`, so no in-range update reaches a fixed version.\n\n### Additional Context\n\nI don't believe either advisory is exploitable through Sentry's own calls: the bundler plugins' `globFiles` and `@sentry/react-router`'s delete-after-upload step pass only `absolute`, `nodir` and `root`, with no `signal`, and their patterns are fixed rather than user-supplied. The impact is that consumers' `npm audit` gates fail with no fix available, including every `@sentry/node` 11 user, since `@sentry/node` depends on `@sentry/bundler-plugins`.\n\nWorkaround we're using: npm `overrides` forcing `glob` `^14.0.3` under `@sentry/react-router` and `@sentry/vite-plugin`. On a real Vite production build, the bundler plugins' `globFiles`, called with the upload's patterns and `root`, returned the same file list on glob 14.0.3 as on glob 13.0.6. That is a quick check, not a full upload test.\n\nglob 14's changelog lists breaking changes (minimatch 11, `walk()` returning arrays, `isRegExp()` renamed to `isMatcher()`, the `debug` option removed, and root-anchored `ignore` patterns now resolving like other patterns). As far as I can see, none of these affect Sentry's call sites. Moving from `glob` to `tinyglobby`, as proposed in getsentry/sentry-javascript-bundler-plugins#869, would also resolve this.\n\n### Priority\n\n\u003csub>React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.\u003c/sub>\n","author":{"url":"https://github.com/cr101","@type":"Person","name":"cr101"},"datePublished":"2026-10-31T05:33:44Z","url":"https://github.com/getsentry/sentry-javascript/issues/25969"}
| 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:da729bf1-1d9a-8f2f-baeb-4db9e8c9faac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1F8:2A3275:3FEE4E:59943C:6B043FC1 |
| html-safe-nonce | 490220bf259dfa5f2e089aefe704c68f6c3ebfd2f20b094aa6870169fc51dd96 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUY4OjJBMzI3NTozRkVFNEU6NTk5NDNDOjZCMDQzRkMxIiwidmlzaXRvcl9pZCI6IjU0MjA0MzAwNDU2ODY4MDg1MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5a9f655b329d807352f46977128be6db94b46ac28a43a35d5aef07897b9f10cd |
| hovercard-subject-tag | issue:6131593815 |
| 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/getsentry/sentry-javascript/25969/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b8b281b5bde6c325dbbb98a42bf5f726539dee7a7b46b97ad4ae1ff4f5008cb/getsentry/sentry-javascript/issues/25969 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b8b281b5bde6c325dbbb98a42bf5f726539dee7a7b46b97ad4ae1ff4f5008cb/getsentry/sentry-javascript/issues/25969 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cr101 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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