CVE-2025-65944

CVE-2025-65944 is a medium-severity security vulnerability in @sentry/node (npm), affecting versions >= 10.11.0, < 10.27.0. It is fixed in 10.27.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Sentry's sensitive headers are leaked when sendDefaultPii is set to true

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

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.

Affected versions

@sentry/node (>= 10.11.0, < 10.27.0) @sentry/astro (>= 10.11.0, < 10.27.0) @sentry/aws-serverless (>= 10.11.0, < 10.27.0) @sentry/bun (>= 10.11.0, < 10.27.0) @sentry/google-cloud-serverless (>= 10.11.0, < 10.27.0) @sentry/nestjs (>= 10.11.0, < 10.27.0) @sentry/nextjs (>= 10.11.0, < 10.27.0) @sentry/node-core (>= 10.11.0, < 10.27.0) @sentry/nuxt (>= 10.11.0, < 10.27.0) @sentry/remix (>= 10.11.0, < 10.27.0) @sentry/solidstart (>= 10.11.0, < 10.27.0) @sentry/sveltekit (>= 10.11.0, < 10.27.0)

Security releases

@sentry/node → 10.27.0 (npm) @sentry/astro → 10.27.0 (npm) @sentry/aws-serverless → 10.27.0 (npm) @sentry/bun → 10.27.0 (npm) @sentry/google-cloud-serverless → 10.27.0 (npm) @sentry/nestjs → 10.27.0 (npm) @sentry/nextjs → 10.27.0 (npm) @sentry/node-core → 10.27.0 (npm) @sentry/nuxt → 10.27.0 (npm) @sentry/remix → 10.27.0 (npm) @sentry/solidstart → 10.27.0 (npm) @sentry/sveltekit → 10.27.0 (npm)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

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

Frequently Asked Questions

  1. What is CVE-2025-65944? CVE-2025-65944 is a medium-severity security vulnerability in @sentry/node (npm), affecting versions >= 10.11.0, < 10.27.0. It is fixed in 10.27.0.
  2. Which packages are affected by CVE-2025-65944?
    • @sentry/node (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/astro (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/aws-serverless (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/bun (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/google-cloud-serverless (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/nestjs (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/nextjs (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/node-core (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/nuxt (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/remix (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/solidstart (npm) (versions >= 10.11.0, < 10.27.0)
    • @sentry/sveltekit (npm) (versions >= 10.11.0, < 10.27.0)
  3. Is there a fix for CVE-2025-65944? Yes. CVE-2025-65944 is fixed in 10.27.0. Upgrade to this version or later.
  4. Is CVE-2025-65944 exploitable, and should I be worried? Whether CVE-2025-65944 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2025-65944 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2025-65944?
    • Upgrade @sentry/node to 10.27.0 or later
    • Upgrade @sentry/astro to 10.27.0 or later
    • Upgrade @sentry/aws-serverless to 10.27.0 or later
    • Upgrade @sentry/bun to 10.27.0 or later
    • Upgrade @sentry/google-cloud-serverless to 10.27.0 or later
    • Upgrade @sentry/nestjs to 10.27.0 or later
    • Upgrade @sentry/nextjs to 10.27.0 or later
    • Upgrade @sentry/node-core to 10.27.0 or later
    • Upgrade @sentry/nuxt to 10.27.0 or later
    • Upgrade @sentry/remix to 10.27.0 or later
    • Upgrade @sentry/solidstart to 10.27.0 or later
    • Upgrade @sentry/sveltekit to 10.27.0 or later

Other vulnerabilities in @sentry/node

Stop the waste.
Protect your environment with Kodem.