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 package | Versions | Reported by |
|---|---|---|
| getsentry sentry | >= 21.12.0, < 26.4.1 | CVE List |
| sentry (PyPI) | from 21.12.0 before 26.4.1 | GitHub Advisory Database, PyPA Advisory Database |
| sentry sentry | from 21.12.0 before 26.4.1 | NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
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
| https://github.com/getsentry/sentry/security/advisories/GHSA-rcmw-7mc7-3rj7 | mitigation, vendor-advisory, web | |
| https://github.com/getsentry/sentry/pull/113720 | issue-tracking, patch, web | |
| https://github.com/getsentry/sentry/commit/0c67558ae7fe08738912d4c5233b53ead048da3b | patch, web | |
| https://github.com/getsentry/sentry/releases/tag/26.4.1 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42354 | advisory | |
| https://github.com/getsentry/sentry | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2026-534.yaml | web | |
| https://pypi.org/project/sentry | package, web | |
| https://github.com/advisories/GHSA-rcmw-7mc7-3rj7 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42354 changed 2026-05-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rcmw-7mc7-3rj7 changed 2026-11-16 | CC-BY-4.0 |
| NVD | CVE-2026-42354 changed 2026-07-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-534 changed 2026-07-13 | CC-BY-4.0 |