All vulnerabilities

Servers and applications

GHSA-rrcx-889m-5jj5

Improper authentication on SAML SSO allows unauthorized organization member addition or identity linking

Severity
Critical
Published
17 Aug 2026
Last changed
17 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
20.6.0
Weakness
Improper authentication (CWE-287)Origin validation error (CWE-346)
Sources
Project advisories (GitHub)

Description

A critical vulnerability was discovered in the SAML SSO implementation of Sentry. This issue was reported to us via our private bug bounty program.

The vulnerability allows an attacker to take control of any authenticated Sentry user account by using an attacker-controlled SAML Identity Provider using a known ident value and an organization slug. This same vulnerability may allow an attacker to add themselves as an unauthorized organization member under the organization's default user role.

For SaaS users, you are only vulnerable if the additional conditions are met:

  • You have SAML SSO authentication configured

For self-hosted users, you are only vulnerable if the additional conditions are met:

  • You 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 your multi-organization instance.
From getsentry/sentry's security advisory.

Workarounds

There is no workaround available for the unauthorized organization member addition.

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.

Workarounds as given by getsentry/sentry's security advisory.

Affected software

SoftwareAffected versions
SentryServers and applications · github:getsentry/sentry
  • Every version before 20.6.0

About Sentry

Developer-first error tracking and performance monitoring

From its GitHub repository.
Weekly downloads (PyPI)
720PyPI Stats, 15 Nov 2026
Docker Hub pulls
241,950,123Docker Hub, 15 Nov 2026
GitHub stars
45,780GitHub, 15 Nov 2026
Forks
4,977GitHub, 15 Nov 2026
Latest release
26.10.1GitHub, 15 Nov 2026
Released
28 Oct 2026GitHub
First published on GitHub
30 Aug 2010GitHub

References