{"id":"CVE-2026-27197","summary":"Sentry: Improper Authentication on SAML SSO process allows user identity linking","details":"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.","aliases":["GHSA-ggmg-cqg6-j45g","PYSEC-2026-533"],"modified":"2026-08-12T03:51:44.937997894Z","published":"2026-02-21T04:35:14.635Z","database_specific":{"cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27197.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27197.json"},{"type":"ADVISORY","url":"https://github.com/getsentry/sentry/security/advisories/GHSA-ggmg-cqg6-j45g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27197"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getsentry/sentry","events":[{"introduced":"5cd2287820d7a1314c0437682de8d0e79ad316b2"},{"fixed":"6592aa6a182b40c89c907e9a15dc7cf8fccd5249"}],"database_specific":{"cpe":"cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"21.12.0"},{"fixed":"26.2.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27197.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}