Read the docs
TI-2024-38530 Aliases GHSA-68c2-4mpx-qh95

Potential leakage of Sentry auth tokens by React Native SDK with Expo plugin

Priority LOW 38CWE-200Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.

Summary

### Impact SDK versions between and including 5.16.0 and 5.19.0 allowed Sentry auth tokens to be set in the optional authToken configuration parameter, for debugging purposes. Doing so would result in the auth token being built into the application bundle, and therefore the auth token could be potentially exposed in case the application bundle is subsequently published. You may ignore this notification if you are not using `authToken` configuration parameter in your React Native SDK configuration or did not publish apps using this way of configuring the `authToken`. If you had set the `authToken` in the plugin config previously, and built and published an app with that config, you should [rotate your token](https://docs.sentry.io/product/accounts/auth-tokens/). ### Patches The behavior that allowed setting an `authToken` parameter was fixed in SDK version 5.19.1 where, if this parameter was set, you will see a warning and the `authToken` would be removed before bundling the application. ### Workarounds 1. Remove `authToken` from the plugin configuration. 2. If you had set the `authToken` in the plugin config previously, and built and published an app with that config, you should [rotate your token](https://docs.sentry.io/product/accounts/auth-tokens/). ### References * [sentry-react-native 5.19.1 release notes](https://github.com/getsentry/sentry-react-native/releases/tag/5.19.1) * https://github.com/getsentry/sentry-docs/pull/9244

Why it matters now

Fix Fixed @sentry/react-native (npm): 5.19.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—@sentry/react-native (npm)5.16.0 to before 5.19.15.19.1Patch availableGHSA-68c2-4mpx-qh95
  • @sentry/react-native (npm) Vendor— Affected 5.16.0 to before 5.19.1 Fixed in 5.19.1 Patch available GHSA-68c2-4mpx-qh95

Remediation

  • Fix · GHSA-68c2-4mpx-qh95 @sentry/react-native (npm) Fixed in 5.19.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-68c2-4mpx-qh95

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences