PYSEC-2026-533

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/sentry/PYSEC-2026-533.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-533
Aliases
Published
2026-06-29T11:50:47.877063Z
Modified
2026-07-01T20:23:04.909803Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Sentry: Improper authentication on SAML SSO process allows user identity linking
Details

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.

For self-hosted users, you are only vulnerable if the following conditions are met: - You have more than one organization configured (SENTRYSINGLEORGANIZATION = False). - A malicious user has existing access and permissions to modify SSO settings for another organization in your multo-organization instance.

Patches

  • Sentry SaaS: The fix was deployed on February 18, 2026. No action is required.
  • Self-Hosted Sentry: If only a single organization is allowed (SENTRYSINGLEORGANIZATION = True), then no action is needed. We recommend upgrading to version 26.2.0 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.

You can manage your two-factor authentication settings on your Account Settings > Security page. For step-by-step details, please see our helpdesk article.

References

Affected packages

PyPI / sentry

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
21.12.0

Affected versions

21.*
21.12.0
22.*
22.1.0
22.2.0
22.3.0
22.4.0
22.5.0
22.6.0
22.7.0
22.8.0
22.9.0
22.10.0
22.11.0
22.12.0
23.*
23.1.0
23.1.1
23.2.0
23.3.0
23.3.1
23.4.0
23.5.0
23.5.1
23.5.2
23.6.0
23.6.1
23.6.2
23.7.0
23.7.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/sentry/PYSEC-2026-533.yaml"
last_known_affected_version_range
"< 26.2.0"