Advisory record · GHSA-29pr-6jr8-q5jm

Sentry SDK leaks sensitive session information when `sendDefaultPII` is set to `True`

CVSS 7.6 HighEPSS 0.0065 · 51st percentile

Published by the GitHub Advisory Database at 21 Mar 2023, 22:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
sentry-sdkPyPI<1.14.01.14.0
Identifiers
GHSA-29pr-6jr8-q5jm · CVE-2023-28117 · PYSEC-2026-920
Weakness (CWE)
CWE-201 · CWE-209
Published
21 Mar 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The sentry-sdk Python package before 1.14.0 can send sensitive cookie values, including the session cookie, to Sentry when the Django integration is used with sendDefaultPII set to True and a custom SESSION_COOKIE_NAME or CSRF_COOKIE_NAME. Anyone with access to the project's Sentry issues could then reuse those cookies to impersonate users or escalate privileges. Upgrade to sentry-sdk 1.14.0 or later, which removes these values before sending; if upgrading is not possible, filter the cookies out of events using before_send and before_send_transaction.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.6 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0065, the 51st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:37 UTC First seen by agentprime
  2. 31 Oct 2026, 14:37 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.