Junglewise Threat Intelligence

CVE-2026-42354: Sentry account takeover via SAML SSO identity spoofing

CVE-2026-42354 · Severity: critical · CVSS 9.1 · Published 2026-05-08

Technologies: sentry (PyPI), Sentry. Vendors: PyPI, Sentry.

Executive brief

Sentry is an error tracking and performance monitoring platform used by developers to monitor application health. A critical vulnerability in its login system allows an attacker to take over any user account if they know the victim's email address. This could lead to unauthorized access to sensitive source code, error logs, and customer data, potentially compromising the entire development pipeline.

Technical details

An authentication bypass vulnerability (CWE-290) exists in Sentry's SAML SSO implementation due to improper identity linking during the SSO setup process. In multi-organization instances where SENTRY_SINGLE_ORGANIZATION is disabled, an attacker with administrative control over one organization can use a malicious SAML Identity Provider to assert the email address of a victim in a different organization. Because the system failed to properly pin the SSO setup identity to the authenticated session, it allowed the attacker to link their malicious IdP to the victim's account. Successful exploitation requires the attacker to know the victim's email address and results in full account takeover. The issue is resolved in version 26.4.1 by ensuring the IdP assertion email is overridden by the authenticated user's email during setup.

Affected products

  • Sentry Sentry >= 21.12.0, < 26.4.1

Timeline

  • 2026-04-22: patched: Fix merged and version 26.4.1 released
  • 2026-04-22: advisory: GitHub Security Advisory published
  • 2026-05-08: disclosed: CVE published to NVD

References

Related threats