Skip to content

Publish npm packages with fixed security vulnerability (glob) #18303

Description

@toubsen

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react-router

SDK Version

10.26.0

Framework Version

React Router v7

Link to Sentry event

No response

Reproduction Example/SDK Setup

In source main branch @sentry/react-router contains the patched version of the glob library since at least Friday 2025-11-20, but the last published version 10.26.0 from the same date still contains the vulnerable library.

Create @sentry/react-router to a react router project and run audit:

npm create react-router@latest
npm install @sentry/react-router
npm audit

glob  11.0.0 - 11.0.3
Severity: high
glob CLI: Command injection via -c/--cmd executes matches with shell:true - https://github.com/advisories/GHSA-5j98-mcp5-4vw2
No fix available
node_modules/glob
  @sentry/react-router  *
  Depends on vulnerable versions of glob
  node_modules/@sentry/react-router

2 high severity vulnerabilities

Steps to Reproduce

  1. Create a react router project
  2. Install Sentry
  3. run npm audit

Expected Result

@sentry/react-router ships with no vulnerable libraries

Actual Result

@sentry/react-router introduces vulnerable version of glob

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions