Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`
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:
- Their Sentry SDK configuration has
sendDefaultPiiset totrue - Their application uses one of the Node.js Sentry SDKs with version from
10.11.0to10.26.0inclusively:
- @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
- 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
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | @sentry/astro | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/aws-serverless | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/bun | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/google-cloud-serverless | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/nestjs | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/nextjs | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/node | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/node-core | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/nuxt | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/remix | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/solidstart | >= 10.11.0, < 10.27.0 | 10.27.0 |
| Paquete de npm | @sentry/sveltekit | >= 10.11.0, < 10.27.0 | 10.27.0 |
Referencias
- https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-6465-jgvq-jhgp
- https://nvd.nist.gov/vuln/detail/CVE-2025-65944
- https://github.com/getsentry/sentry-javascript/pull/17475
- https://github.com/getsentry/sentry-javascript/pull/18311
- https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539
- https://github.com/getsentry/sentry-javascript
- https://github.com/getsentry/sentry-javascript/releases
- https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0
- https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0
- Vector 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- Debilidad (CWE)
CWE-201- Plataforma
- npm
- Paquete
@sentry/astro, @sentry/aws-serverless, @sentry/bun- Publicada
- 24.11.2025
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-6465-jgvq-jhgp - CC BY 4.0
Historial de vulnerabilidades: @sentry/aws-serverless
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 01.2025 11.2025
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Media 1
- Baja 1
Divulgaciones por año
- 2025: 2
- 2026: 0
-
Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true` esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.