Loading...
Skip to main content

CVE-2025-65944 — Vulnerability in @sentry/nestjs — CVE Details

MEDIUM

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

Published November 24, 2025Updated August 7, 2026Source: osv

Summary

### 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](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) version. ### Workarounds Sentry strongly encourage customers to upgrade the SDK to the latest available version, [10.27.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) or later. If it is not possible, consider setting `sendDefaultPii: false` to avoid unintentionally sending sensitive headers. See [here](https://docs.sentry.io/platforms/javascript/guides/node/#step-2-configure) 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

Advisory Timeline

  • First published November 24, 2025 (322 days ago).
  • Last revised August 7, 2026 — 255 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update @sentry/nestjs to 10.27.0 or later
npm install @sentry/nestjs@10.27.0
npm
Update @sentry/google-cloud-serverless to 10.27.0 or later
npm install @sentry/google-cloud-serverless@10.27.0
npm
Update @sentry/node-core to 10.27.0 or later
npm install @sentry/node-core@10.27.0
npm
Update @sentry/nextjs to 10.27.0 or later
npm install @sentry/nextjs@10.27.0
npm
Update @sentry/nuxt to 10.27.0 or later
npm install @sentry/nuxt@10.27.0
npm
Update @sentry/aws-serverless to 10.27.0 or later
npm install @sentry/aws-serverless@10.27.0
npm
Update @sentry/sveltekit to 10.27.0 or later
npm install @sentry/sveltekit@10.27.0
npm
Update @sentry/solidstart to 10.27.0 or later
npm install @sentry/solidstart@10.27.0
npm
Update @sentry/astro to 10.27.0 or later
npm install @sentry/astro@10.27.0
npm
Update @sentry/bun to 10.27.0 or later
npm install @sentry/bun@10.27.0
npm
Update @sentry/remix to 10.27.0 or later
npm install @sentry/remix@10.27.0
npm
Update @sentry/node to 10.27.0 or later
npm install @sentry/node@10.27.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (12)

Affects 1 ecosystem: npm (12).

PackageEcosystemAffectedFixed In
@sentry/nestjs
npm
All versions10.27.0
@sentry/google-cloud-serverless
npm
All versions10.27.0
@sentry/node-core
npm
All versions10.27.0
@sentry/nextjs
npm
All versions10.27.0
@sentry/nuxt
npm
All versions10.27.0
@sentry/aws-serverless
npm
All versions10.27.0
@sentry/sveltekit
npm
All versions10.27.0
@sentry/solidstart
npm
All versions10.27.0
@sentry/astro
npm
All versions10.27.0
@sentry/bun
npm
All versions10.27.0
@sentry/remix
npm
All versions10.27.0
@sentry/node
npm
All versions10.27.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:L

Frequently Asked Questions

What is CVE-2025-65944?
Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true` This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.9/10).
How do I check if my project is affected by CVE-2025-65944?
CVE-2025-65944 affects @sentry/nestjs, @sentry/google-cloud-serverless and @sentry/node-core (and 9 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-65944 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.9

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-6465-jgvq-jhgp

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies