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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-02-21T04:35:14.635Z
- Modified: 2026-09-10T11:15:09.023Z
- Also known as: GHSA-ggmg-cqg6-j45g, PYSEC-2026-533
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getsentry sentry: >= 21.12.0, < 26.2.0
- sentry (PyPI): from 21.12.0; from 21.12.0 before 26.2.0
- sentry sentry: from 21.12.0 before 26.2.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/getsentry/sentry/security/advisories/GHSA-ggmg-cqg6-j45g> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27197> (advisory)
- <https://github.com/getsentry/sentry/pull/108458> (web)
- <https://github.com/getsentry/sentry> (package)
- <https://pypi.org/project/sentry> (package)
- <https://github.com/advisories/GHSA-ggmg-cqg6-j45g> (advisory)

## Sources

- CVE List: [CVE-2026-27197](https://www.cve.org/CVERecord?id=CVE-2026-27197), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-ggmg-cqg6-j45g](https://github.com/advisories/GHSA-ggmg-cqg6-j45g), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-27197](https://nvd.nist.gov/vuln/detail/CVE-2026-27197), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-533](https://osv.dev/vulnerability/PYSEC-2026-533), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-27197 · Whole record: https://cve.day/CVE-2026-27197.json · Rebuilt by cve.day 2026-11-25T22:59:14.595Z
