{"id":"CVE-2025-65944","aliases":["EUVD-2025-198990","GHSA-6465-jgvq-jhgp"],"status":"published","title":"Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`","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.","severity":{"version":"4.0","score":5.1,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00369,"percentile":0.3104,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-201"],"published":"2025-11-24T21:52:45Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"npm","package":"@sentry/node","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/astro","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/aws-serverless","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/bun","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/google-cloud-serverless","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/nestjs","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/nextjs","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/node-core","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/nuxt","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/remix","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/solidstart","fixed_in":["10.27.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sentry/sveltekit","fixed_in":["10.27.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@sentry/node","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/astro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/aws-serverless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/bun","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/google-cloud-serverless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/nestjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/nextjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/node-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/nuxt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/remix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/solidstart","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sentry/sveltekit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/node","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/astro","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/aws-serverless","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/bun","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/google-cloud-serverless","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/nestjs","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/nextjs","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/node-core","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/nuxt","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/remix","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/solidstart","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sentry/sveltekit","ranges":[{"type":"SEMVER","events":[{"introduced":"10.11.0"},{"fixed":"10.27.0"}]}]}],"products":[{"vendor":"getsentry","product":"sentry-javascript"}],"references":[{"url":"https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-6465-jgvq-jhgp","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/getsentry/sentry-javascript/pull/17475","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/getsentry/sentry-javascript/pull/18311","tags":["web"]},{"url":"https://github.com/getsentry/sentry-javascript/releases","tags":["web"]},{"url":"https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65944","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6465-jgvq-jhgp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65944.json","tags":["advisory"]},{"url":"https://github.com/getsentry/sentry-javascript","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-65944","title":"Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`","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.","status":"published","published":"2025-11-25T00:23:53.215Z","modified":"2025-11-25T14:33:37.98Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium","assessor":"cna"}],"cwes":["CWE-201"],"updated_at":"2026-11-02T14:32:26.64278Z"}],"euvd":[{"id":"EUVD-2025-198990","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.","status":"published","published":"2025-11-25T00:23:53Z","modified":"2025-11-25T14:33:37Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T19:49:12.807834Z"}],"ghsa":[{"id":"GHSA-6465-jgvq-jhgp","title":"Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`","description":"### Impact\nIn 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.\n\nSentry’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.\n\nUsers may be impacted if:\n\n1. Their Sentry SDK configuration has `sendDefaultPii` set to `true`\n2. Their application uses one of the Node.js Sentry SDKs with version from `10.11.0` to `10.26.0` inclusively:\n- @sentry/astro\n- @sentry/aws-serverless\n- @sentry/bun\n- @sentry/google-cloud-serverless\n- @sentry/nestjs\n- @sentry/nextjs\n- @sentry/node\n- @sentry/node-core\n- @sentry/nuxt\n- @sentry/remix\n- @sentry/solidstart\n- @sentry/sveltekit\n\nUsers 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.\n\n### Patches\nThe issue has been patched in all Sentry JavaScript SDKs starting from the [10.27.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) version.\n\n### Workarounds\nSentry strongly encourage customers to upgrade the SDK to the latest available version, [10.27.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) or later.\nIf it is not possible, consider setting `sendDefaultPii: false` to avoid unintentionally sending sensitive headers. See [here](https://docs.sentry.io/platforms/javascript/guides/node/#step-2-configure) for documentation.\n\n### Resources\n* https://develop.sentry.dev/sdk/expected-features/data-handling/#sensitive-data\n* https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0\n* https://github.com/getsentry/sentry-javascript/pull/17475\n* https://docs.sentry.io/platforms/javascript/guides/node/data-management/data-collected/#cookies","status":"published","published":"2025-11-24T21:52:45Z","modified":"2025-11-27T07:56:29Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium"}],"cwes":["CWE-201"],"updated_at":"2026-11-02T14:39:10.178331Z"}],"nvd":[{"id":"CVE-2025-65944","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.","status":"published","published":"2025-11-25T01:15:46.623Z","modified":"2026-10-18T20:10:00.11Z","cvss":[{"version":"4.0","score":5.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-201"],"updated_at":"2026-11-02T14:11:46.009629Z"}],"osv":[{"id":"CVE-2025-65944","title":"Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`","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.","status":"published","published":"2025-11-25T00:23:53.215Z","modified":"2026-10-28T02:30:54.736696097Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium"}],"cwes":["CWE-201"],"updated_at":"2026-11-02T15:44:52.202386Z"},{"id":"GHSA-6465-jgvq-jhgp","title":"Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`","description":"### Impact\nIn 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.\n\nSentry’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.\n\nUsers may be impacted if:\n\n1. Their Sentry SDK configuration has `sendDefaultPii` set to `true`\n2. Their application uses one of the Node.js Sentry SDKs with version from `10.11.0` to `10.26.0` inclusively:\n- @sentry/astro\n- @sentry/aws-serverless\n- @sentry/bun\n- @sentry/google-cloud-serverless\n- @sentry/nestjs\n- @sentry/nextjs\n- @sentry/node\n- @sentry/node-core\n- @sentry/nuxt\n- @sentry/remix\n- @sentry/solidstart\n- @sentry/sveltekit\n\nUsers 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.\n\n### Patches\nThe issue has been patched in all Sentry JavaScript SDKs starting from the [10.27.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) version.\n\n### Workarounds\nSentry strongly encourage customers to upgrade the SDK to the latest available version, [10.27.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0) or later.\nIf it is not possible, consider setting `sendDefaultPii: false` to avoid unintentionally sending sensitive headers. See [here](https://docs.sentry.io/platforms/javascript/guides/node/#step-2-configure) for documentation.\n\n### Resources\n* https://develop.sentry.dev/sdk/expected-features/data-handling/#sensitive-data\n* https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0\n* https://github.com/getsentry/sentry-javascript/pull/17475\n* https://docs.sentry.io/platforms/javascript/guides/node/data-management/data-collected/#cookies","status":"published","published":"2025-11-24T21:52:45Z","modified":"2026-08-07T08:12:16.735936479Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium"}],"cwes":["CWE-201"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
