# CVE-2025-65944: Sentry-Javascript deals with leaked sensitive headers when \`sendDefaultPii\` is set to \`true\`

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: High; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: Low; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 47, 2026-11-26)
- **CWE:** CWE-201
- **Aliases:** GHSA-6465-jgvq-jhgp
- **Published:** 2025-11-24T21:52:45.000Z
- **Modified:** 2026-10-18T20:10:00.110Z

## Who should check

- Projects that depend on npm package @sentry/node (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/astro (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/aws-serverless (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/bun (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/google-cloud-serverless (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/nestjs (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/nextjs (\>= 10.11.0, \< 10.27.0)
- Projects that depend on npm package @sentry/node-core (\>= 10.11.0, \< 10.27.0)

## Description

Sentry-Javascript is an official Sentry SDKs for JavaScript. From version 10.11.0 to before 10.27.0, when a Node.js application using the Sentry SDK has sendDefaultPii: true it is possible to inadvertently send certain sensitive HTTP headers, including the Cookie header, to Sentry. Those headers would be stored within a Sentry organization as part of the associated trace. A person with access to the Sentry organization could then view and use these sensitive values to impersonate or escalate their privileges within the application. This issue has been patched in version 10.27.0.

## Affected and fixed versions

- npm `@sentry/node`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/astro`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/aws-serverless`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/bun`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/google-cloud-serverless`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/nestjs`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/nextjs`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/node-core`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/nuxt`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/remix`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/solidstart`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- npm `@sentry/sveltekit`: affected \>= 10.11.0, \< 10.27.0; fixed 10.27.0 (osv)
- getsentry sentry-javascript: \>= 10.11.0, \< 10.27.0 (cvelist)

## Mitigation

- Upgrade @sentry/node to 10.27.0 or later.
- Upgrade @sentry/astro to 10.27.0 or later.
- Upgrade @sentry/aws-serverless to 10.27.0 or later.
- Upgrade @sentry/bun to 10.27.0 or later.
- Upgrade @sentry/google-cloud-serverless to 10.27.0 or later.
- Upgrade @sentry/nestjs to 10.27.0 or later.
- Upgrade @sentry/nextjs to 10.27.0 or later.
- Upgrade @sentry/node-core to 10.27.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-65944. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-65944.md
Affected: @sentry/node >= 10.11.0, < 10.27.0; @sentry/astro >= 10.11.0, < 10.27.0; @sentry/aws-serverless >= 10.11.0, < 10.27.0; @sentry/bun >= 10.11.0, < 10.27.0; @sentry/google-cloud-serverless >= 10.11.0, < 10.27.0; @sentry/nestjs >= 10.11.0, < 10.27.0; @sentry/nextjs >= 10.11.0, < 10.27.0; @sentry/node-c…
Fixed in: 10.27.0

Steps:
1. Search this machine and project for @sentry/node (npm), @sentry/astro (npm), @sentry/aws-serverless (npm), @sentry/bun (npm), @sentry/google-cloud-serverless (npm), @sentry/nestjs (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-65944 being exploited?

There is no confirmed exploitation: CVE-2025-65944 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-65944?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-65944?

@sentry/node \>= 10.11.0, \< 10.27.0; @sentry/astro \>= 10.11.0, \< 10.27.0; @sentry/aws-serverless \>= 10.11.0, \< 10.27.0; @sentry/bun \>= 10.11.0, \< 10.27.0; @sentry/google-cloud-serverless \>= 10.11.0, \< 10.27.0; @sentry/nestjs \>= 10.11.0, \< 10.27.0; @sentry/nextjs \>= 10.11.0, \< 10.27.0; @sentry/node-core \>= 10.11.0, \< 10.27.0; @sentry/nuxt \>= 10.11.0, \< 10.27.0; @sentry/remix \>= 10.11.0, \< 10.27.0; @sentry/solidstart \>= 10.11.0, \< 10.27.0; @sentry/sveltekit \>= 10.11.0, \< 10.27.0.

### Is there a fix for CVE-2025-65944?

Yes. Fixed in 10.27.0. Upgrade @sentry/node to 10.27.0 or later. Upgrade @sentry/astro to 10.27.0 or later. Upgrade @sentry/aws-serverless to 10.27.0 or later. Upgrade @sentry/bun to 10.27.0 or later. Upgrade @sentry/google-cloud-serverless to 10.27.0 or later. Upgrade @sentry/nestjs to 10.27.0 or later. Upgrade @sentry/nextjs to 10.27.0 or later. Upgrade @sentry/node-core to 10.27.0 or later.

### How do I check if I'm affected by CVE-2025-65944?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-6465-jgvq-jhgp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-65944>
- patch: <https://github.com/getsentry/sentry-javascript/pull/17475>
- patch: <https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539>
- patch: <https://github.com/getsentry/sentry-javascript/pull/18311>
- other: <https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0>
- other: <https://github.com/getsentry/sentry-javascript>
- other: <https://github.com/getsentry/sentry-javascript/releases>
- other: <https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-65944>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6465-jgvq-jhgp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-65944> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-65944>
