Categories
CVE-2025-65944

Vulnerability in @sentry/node (CVE-2025-65944)

Summary

Vulnerability in @sentry/node (CVE-2025-65944). Risk of unauthorized operations or information disclosure. Exploitable via sendDefaultPii. Mitigation: upgrade to 10.27.0 or later.

Original description

The description as published by the source.

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 custo…

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2025-65944 has been found in @sentry/node.
Attackers can target a specific entry point like sendDefaultPii over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade @sentry/node to 10.27.0 or later.
If unsure, ask your IT team or search "@sentry/node CVE-2025-65944" on the vendor's site.

CVE-2025-65944 (@sentry/node) — CWE-201
Attack surface: sendDefaultPii / true
Patched: 10.27.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-201) exists in @sentry/node. Attackers reach the vulnerable code path via sendDefaultPii.

📍 Affected scope

Check the vendor advisory for the affected versions of @sentry/node. Attack surface: sendDefaultPii / true.

🔥 Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

🔧 How to fix

Update to 10.27.0.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r '@sentry/node' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r '@sentry/node' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で @sentry/node を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade @sentry/node to 10.27.0

    ステージング環境で 10.27.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

npm @sentry/node
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/astro
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/aws-serverless
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/bun
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/google-cloud-serverless
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/nestjs
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/nextjs
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/node-core
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/nuxt
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/remix
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/solidstart
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]
npm @sentry/sveltekit
[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details