CVE-2025-22146
JSON

9.1critical

Improper authentication on SAML SSO process allows user impersonation in sentry

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7pq6-v88g-wf3wPYSEC-2026-532

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.

Affected

Product or packageVersionsReported by
getsentry sentry>= 21.12.0, < 25.1.0CVE List
sentry (PyPI)from 21.12.0 before 25.1.0GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
PyPA Advisory Database9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches
  • Sentry SaaS: The fix was deployed on Jan 14, 2025.
  • Self-Hosted Sentry: 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.
Workarounds

No known workarounds.

References
NVD (es)

Sentry es una herramienta de seguimiento de errores y monitoreo de rendimiento diseñada para desarrolladores. Se descubrió una vulnerabilidad crítica en la implementación de SSO SAML de Sentry. Se nos informó a través de nuestro programa privado de recompensas por errores. La vulnerabilidad permite a un atacante tomar el control de cualquier cuenta de usuario mediante el uso de un proveedor de identidad SAML malicioso y otra organización en la misma instancia de Sentry. Se debe conocer la dirección de correo electrónico de la víctima para explotar esta vulnerabilidad. La corrección de Sentry SaaS se implementó el 14 de enero de 2025. Para usuarios alojados en el servidor propio; si solo se permite una única organización `(SENTRY_SINGLE_ORGANIZATION = True)`, no se necesita ninguna acción. De lo contrario, los usuarios deben actualizar a la versión 25.1.0 o superior. No existen workarounds conocidos para esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22146 changed 2025-01-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-7pq6-v88g-wf3w changed 2026-06-29CC-BY-4.0
NVDCVE-2025-22146 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-532 changed 2026-07-01CC-BY-4.0