CVE-2026-42354
JSON

9.1critical

Sentry: Improper authentication on SAML SSO process allows user identity linking

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rcmw-7mc7-3rj7PYSEC-2026-534

Description

Sentry is an error tracking and performance monitoring tool. From version 21.12.0 to before version 26.4.1, a critical vulnerability was discovered in the SAML SSO implementation of Sentry. 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. This issue has been patched in version 26.4.1.

Affected

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

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
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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-290

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

What each source says

CVE List

Sentry is an error tracking and performance monitoring tool. From version 21.12.0 to before version 26.4.1, a critical vulnerability was discovered in the SAML SSO implementation of Sentry. 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. This issue has been patched in version 26.4.1.

GitHub Advisory Database
Impact

A critical vulnerability was discovered in the SAML SSO implementation of Sentry. It was reported to us via Sentry's 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.

Self-hosted users are only vulnerable if the following conditions are met:

  • They have more than one organization configured (SENTRY_SINGLE_ORGANIZATION = False).
  • A malicious user has existing access and permissions to modify SSO settings for another organization in their multi-organization instance.
Patches
  • Sentry SaaS: The fix was deployed in April. No action is required.
  • Self-Hosted Sentry: If only a single organization is allowed (SENTRY_SINGLE_ORGANIZATION = True), then no action is needed. Sentry recommends upgrading to version 26.4.1 or higher.
Workarounds

User account-based two-factor authentication prevents an attacker from being able to complete authentication with a victim's user account. Organization administrators cannot do this on a user's behalf, this requires individual users to ensure 2FA has been enabled for their account.

Users can manage their two-factor authentication settings through Account Settings > Security page. For step-by-step details, please see the Sentry helpdesk article.

Resources

Please note that this is distinct vulnerability from the similar https://github.com/getsentry/sentry/security/advisories/GHSA-7pq6-v88g-wf3w from 2025.

NVD (es)

Sentry es una herramienta de seguimiento de errores y monitoreo de rendimiento. Desde la versión 21.12.0 hasta antes de la versión 26.4.1, se descubrió una vulnerabilidad crítica en la implementación de SAML SSO de Sentry. La vulnerabilidad permite a un atacante tomar el control de cualquier cuenta de usuario utilizando un proveedor de identidad SAML malicioso y otra organización en la misma instancia de Sentry. La dirección de correo electrónico de la víctima debe ser conocida para explotar esta vulnerabilidad. Este problema ha sido parcheado en la versión 26.4.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42354 changed 2026-05-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-rcmw-7mc7-3rj7 changed 2026-11-16CC-BY-4.0
NVDCVE-2026-42354 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-534 changed 2026-07-13CC-BY-4.0