CVE-2026-42354: Sentry: Improper authentication on SAML SSO process allows user identity linking

Published Apr 30, 2026
·
Updated

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 (SENTRYSINGLEORGANIZATION = 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 (SENTRYSINGLEORGANIZATION = 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

- https://github.com/getsentry/sentry/pull/113720

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

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/sentry>=21.12.0<=26.4.0
26.4.1
Sentry sentry>=21.12.0<26.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/sentry to a version that resolves this vulnerability.

    Fixed in 26.4.1
  2. Upgrade

    Upgrade sentry to a version that resolves this vulnerability.

    Fixed in 26.4.1
  3. Configuration

    Enable user account-based two-factor authentication (2FA) for all user accounts. Users can manage 2FA via Account Settings > Security.

    Sentry account security 2FA (two-factor authentication) = enabled
  4. Compensating control

    If SENTRY_SINGLE_ORGANIZATION = True (only a single organization is allowed in a self-hosted instance), no action is needed; otherwise, mitigate by enabling 2FA for user accounts because the vulnerability requires multiple organizations on the same Sentry instance.

Event History

Apr 30, 2026
Advisory Published
via GitHub·08:44 PM
Data Sourced
via GitHub·08:44 PM
DescriptionSeverityWeaknessAffected Software
May 8, 2026
CVE Published
via MITRE·10:58 PM
Data Sourced
via MITRE·10:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-42354?

CVE-2026-42354 is classified as a critical severity vulnerability.

2

How do I fix CVE-2026-42354?

To fix CVE-2026-42354, upgrade to Sentry version 26.4.1 or later.

3

What does CVE-2026-42354 affect?

CVE-2026-42354 affects Sentry versions between 21.12.0 and 26.4.0.

4

What type of vulnerability is CVE-2026-42354?

CVE-2026-42354 is a vulnerability in the SAML SSO implementation of Sentry.

5

What could an attacker do with CVE-2026-42354?

An attacker could take over any user account using a malicious SAML Identity Provider.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203