Średnia

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

  • Ujawniono: 24.11.2025
  • Aktualizacja: 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

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka npm @sentry/astro >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/aws-serverless >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/bun >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/google-cloud-serverless >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/nestjs >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/nextjs >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/node >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/node-core >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/nuxt >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/remix >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/solidstart >= 10.11.0, < 10.27.0 10.27.0
Paczka npm @sentry/sveltekit >= 10.11.0, < 10.27.0 10.27.0

Odnośniki

Ocena CVSS -
Wektor CVSS
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
Słabość (CWE)
CWE-201
Platforma
npm
Paczka
@sentry/astro, @sentry/aws-serverless, @sentry/bun
Ujawniono
24.11.2025
Aktualizacja
11.10.2026 10:22

Źródła i licencje

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

Historia podatności: @sentry/bun

Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkich wpisów
2
Pierwsza → ostatnia
01.2025 11.2025
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Średnia 1
  • Niska 1

Ujawnienia w latach

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

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.