NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-65944: Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`

mediumCVSS 4.0 5.1GHSA-6465-jgvq-jhgp

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.

Published Nov 24, 2025 · Updated Nov 27, 2025

Affected packages

@sentry/node

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/node

@sentry/astro

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/astro

@sentry/aws-serverless

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/aws-serverless

@sentry/bun

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/bun

@sentry/google-cloud-serverless

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/google-cloud-serverless

@sentry/nestjs

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/nestjs

@sentry/nextjs

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/nextjs

@sentry/node-core

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/node-core

@sentry/nuxt

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/nuxt

@sentry/remix

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/remix

@sentry/solidstart

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/solidstart

@sentry/sveltekit

Ecosystem
npm
Affected
>= 10.11.0, < 10.27.0
Fixed in
10.27.0
Check
npm ls @sentry/sveltekit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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:
  3. @sentry/astro
  4. @sentry/aws-serverless
  5. @sentry/bun
  6. @sentry/google-cloud-serverless
  7. @sentry/nestjs
  8. @sentry/nextjs
  9. @sentry/node
  10. @sentry/node-core
  11. @sentry/nuxt
  12. @sentry/remix
  13. @sentry/solidstart
  14. @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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries