# CVE-2025-22146: Improper authentication on SAML SSO process allows user impersonation in sentry

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2025-01-15T19:57:59.734Z
- Modified: 2026-07-01T20:23:04.901Z
- Also known as: GHSA-7pq6-v88g-wf3w, PYSEC-2026-532
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Sentry is a developer-first error tracking and performance monitoring tool. A critical vulnerability was discovered in the SAML SSO implementation of Sentry. It was reported to us via our private bug bounty program. The vulnerability allows an attacker to take over any user account by using a malicious SAML Identity Provider and another organization on the same Sentry instance. The victim email address must be known in order to exploit this vulnerability. The Sentry SaaS fix was deployed on Jan 14, 2025. For self hosted users; if only a single organization is allowed `(SENTRY_SINGLE_ORGANIZATION = True)`, then no action is needed. Otherwise, users should upgrade to version 25.1.0 or higher. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- getsentry sentry: >= 21.12.0, < 25.1.0
- sentry (PyPI): from 21.12.0 before 25.1.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/getsentry/sentry/security/advisories/GHSA-7pq6-v88g-wf3w> (web)
- <https://github.com/getsentry/sentry/pull/83407> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22146> (advisory)
- <https://github.com/getsentry/sentry/commit/6db508f7949d117c7dff748a3c82c3a272bf7cfd> (web)
- <https://github.com/getsentry/sentry> (package)
- <https://pypi.org/project/sentry> (package)
- <https://github.com/advisories/GHSA-7pq6-v88g-wf3w> (advisory)

## Sources

- CVE List: [CVE-2025-22146](https://www.cve.org/CVERecord?id=CVE-2025-22146), CVE Terms of Use, modified 2025-01-15
- GitHub Advisory Database: [GHSA-7pq6-v88g-wf3w](https://github.com/advisories/GHSA-7pq6-v88g-wf3w), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2025-22146](https://nvd.nist.gov/vuln/detail/CVE-2025-22146), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-532](https://osv.dev/vulnerability/PYSEC-2026-532), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-22146 · Whole record: https://cve.day/CVE-2025-22146.json · Rebuilt by cve.day 2026-11-25T22:58:53.349Z
