Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-65944

MEDIUM 5.1EPSS 47%

Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`

Also known as GHSA-6465-jgvq-jhgp

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.

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)

Vulnerability facts

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-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
Fixed in
10.27.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
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:LOpen in CVSS calculator
Show all 11 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
EPSS
0.66% chance of exploitation in 30 days (percentile 47, 2026-11-26)
CWE
CWE-201
Published
Modified

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

Package / productAffectedFixedSource
npm @sentry/node>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/astro>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/aws-serverless>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/bun>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/google-cloud-serverless>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/nestjs>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/nextjs>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/node-core>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/nuxt>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/remix>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/solidstart>= 10.11.0, < 10.27.010.27.0osv
npm @sentry/sveltekit>= 10.11.0, < 10.27.010.27.0osv
getsentry sentry-javascript>= 10.11.0, < 10.27.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors