CVE-2025-65944: Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`

Published Nov 24, 2025
·
Updated

Impact In version 10.11.0, a change to how the SDK collects request data in Node.js applications caused certain incoming HTTP headers to be added as trace span attributes. When sendDefaultPii: true was set, a few headers that were previously redacted - including Authorization and Cookie - were unintentionally allowed through.

Sentry’s server-side scrubbing (handled by Sentry's Relay edge proxy) normally serves as a second layer of protection. However, because it relied on the same matching logic as the SDK, it also failed to catch these headers in this case.

Users may be impacted if:

1. Their Sentry SDK configuration has sendDefaultPii set to true 2. Their application uses one of the Node.js Sentry SDKs with version from 10.11.0 to 10.26.0 inclusively: - @sentry/astro - @sentry/aws-serverless - @sentry/bun - @sentry/google-cloud-serverless - @sentry/nestjs - @sentry/nextjs - @sentry/node - @sentry/node-core - @sentry/nuxt - @sentry/remix - @sentry/solidstart - @sentry/sveltekit

Users can check if their project was affected, by visiting Explore → Traces and searching for “http.request.header.authorization”, “http.request.header.cookie” or similar. Any potentially sensitive values will be specific to users' applications and configurations.

Patches The issue has been patched in all Sentry JavaScript SDKs starting from the 10.27.0 version.

Workarounds Sentry strongly encourage customers to upgrade the SDK to the latest available version, 10.27.0 or later. If it is not possible, consider setting sendDefaultPii: false to avoid unintentionally sending sensitive headers. See here for documentation.

Resources https://develop.sentry.dev/sdk/expected-features/data-handling/#sensitive-data https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0 https://github.com/getsentry/sentry-javascript/pull/17475 https://docs.sentry.io/platforms/javascript/guides/node/data-management/data-collected/#cookies

Other sources

Sentry-Javascript is an official Sentry SDKs for JavaScript. From version 10.11.0 to before 10.27.0, when a Node.js application using the Sentry SDK has sendDefaultPii: true it is possible to inadvertently send certain sensitive HTTP headers, including the Cookie header, to Sentry. Those headers would be stored within a Sentry organization as part of the associated trace. A person with access to the Sentry organization could then view and use these sensitive values to impersonate or escalate their privileges within the application. This issue has been patched in version 10.27.0.

NVD

Affected Software

12 affected componentsFixes available
npm/@sentry/sveltekit>=10.11.0<10.27.0
10.27.0
npm/@sentry/solidstart>=10.11.0<10.27.0
10.27.0
npm/@sentry/remix>=10.11.0<10.27.0
10.27.0
npm/@sentry/nuxt>=10.11.0<10.27.0
10.27.0
npm/@sentry/node-core>=10.11.0<10.27.0
10.27.0
npm/@sentry/nextjs>=10.11.0<10.27.0
10.27.0
npm/@sentry/nestjs>=10.11.0<10.27.0
10.27.0
npm/@sentry/google-cloud-serverless>=10.11.0<10.27.0
10.27.0
npm/@sentry/bun>=10.11.0<10.27.0
10.27.0
npm/@sentry/aws-serverless>=10.11.0<10.27.0
10.27.0
npm/@sentry/astro>=10.11.0<10.27.0
10.27.0
npm/@sentry/node>=10.11.0<10.27.0
10.27.0

Event History

Nov 24, 2025
Advisory Published
via GitHub·09:52 PM
Data Sourced
via GitHub·09:52 PM
DescriptionWeaknessAffected Software
Nov 25, 2025
CVE Published
via MITRE·12:23 AM
Data Sourced
via MITRE·12:23 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-65944?

CVE-2025-65944 is classified as a medium severity vulnerability due to the potential exposure of sensitive HTTP headers.

2

How do I fix CVE-2025-65944?

To fix CVE-2025-65944, upgrade your Sentry SDK versions to 10.27.0 or later.

3

What types of sensitive data are affected by CVE-2025-65944?

CVE-2025-65944 can inadvertently expose sensitive HTTP headers, including the Cookie header.

4

Which Sentry SDK versions are vulnerable to CVE-2025-65944?

Sentry SDK versions from 10.11.0 to 10.27.0 are vulnerable to CVE-2025-65944.

5

What applications are impacted by CVE-2025-65944?

Node.js applications using the Sentry SDK with sendDefaultPii set to true are impacted by CVE-2025-65944.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203