Mittel

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

  • Veröffentlicht: 24.11.2025
  • Aktualisiert: 11.10.2026 10:22

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

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket @sentry/astro >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/aws-serverless >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/bun >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/google-cloud-serverless >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/nestjs >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/nextjs >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/node >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/node-core >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/nuxt >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/remix >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/solidstart >= 10.11.0, < 10.27.0 10.27.0
npm-Paket @sentry/sveltekit >= 10.11.0, < 10.27.0 10.27.0

Verweise

CVSS-Wert -
CVSS-Vektor
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
Schwäche (CWE)
CWE-201
Plattform
npm
Paket
@sentry/astro, @sentry/aws-serverless, @sentry/bun
Veröffentlicht
24.11.2025
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-6465-jgvq-jhgp - CC BY 4.0

Schwachstellenhistorie: @sentry/aws-serverless

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
2
Erste → letzte
01.2025 11.2025
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Mittel 1
  • Niedrig 1

Veröffentlichungen pro Jahr

  1. 2025: 2
  2. 2026: 0
  1. Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true` dieser Eintrag
    Mittel CVE-2025-65944 >= 10.11.0, < 10.27.0 10.27.0
  2. Niedrig · 3.7 ghsa-r5w7-f542-q2j4 >= 8.10.0, < 8.49.0 8.49.0

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.