{"id":"CVE-2026-27197","aliases":["CVE-2026-27197","GHSA-ggmg-cqg6-j45g","PYSEC-2026-533"],"related":[],"kind":"vulnerability","state":"published","title":"Sentry: Improper Authentication on SAML SSO process allows user identity linking","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA critical vulnerability was discovered in the SAML SSO implementation of Sentry. It was reported to us via our private bug bounty program.\n\nThe 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.\n\nFor self-hosted users, you are only vulnerable if the following conditions are met:\n- You have more than one organization configured (SENTRY_SINGLE_ORGANIZATION = False).\n- A malicious user has existing access and permissions to modify SSO settings for another organization in your multo-organization instance. \n\n### Patches\n- [Sentry SaaS](https://sentry.io/): The fix was deployed on February 18, 2026. No action is required.\n- [Self-Hosted Sentry](https://github.com/getsentry/self-hosted): If only a single organization is allowed (SENTRY_SINGLE_ORGANIZATION = True), then no action is needed. We recommend upgrading to version 26.2.0 or higher.\n\n### Workarounds\nUser 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.\n\nYou can manage your two-factor authentication settings on your Account Settings > [Security](https://sentry.io/settings/account/security/) page. For step-by-step details, please see our [helpdesk article](https://sentry.zendesk.com/hc/en-us/articles/46773315774235-How-do-I-enable-two-factor-authentication-2FA-on-my-Sentry-account).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sentry es una herramienta de seguimiento de errores y monitoreo de rendimiento diseñada para desarrolladores. Las versiones 21.12.0 a la 26.1.0 tienen una vulnerabilidad crítica en su implementación de SAML SSO que permite a un atacante tomar el control de cualquier cuenta de usuario mediante el uso de un proveedor de identidad SAML malicioso y otra organización en la misma instancia de Sentry. Los usuarios autoalojados solo están en riesgo si se cumplen los siguientes criterios: más de una organización está configurada (SENTRY_SINGLE_ORGANIZATION = True), o un usuario malicioso tiene acceso y permisos existentes para modificar la configuración de SSO para otra organización en una instancia multi-organización. Este problema ha sido solucionado en la versión 26.2.0. Como solución alternativa a este problema, implemente la autenticación de dos factores basada en la cuenta de usuario para evitar que un atacante pueda completar la autenticación con la cuenta de usuario de una víctima. Los administradores de la organización no pueden hacer esto en nombre de un usuario; esto requiere que los usuarios individuales se aseguren de que la 2FA ha sido habilitada para su cuenta.","source":"nvd"}],"published":"2026-02-21T04:35:14.635Z","modified":"2026-09-10T11:15:09.023Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 21.12.0, < 26.2.0","status":"affected"}],"vendor":"getsentry","product":"sentry","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"21.12.0","status":"affected"}],"ecosystem":"PyPI","package":"sentry","purl":"pkg:pypi/sentry","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"21.12.0","fixed":"26.2.0"}],"vendor":"sentry","product":"sentry","cpe":"cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"21.12.0","status":"affected","fixed":"26.2.0"}],"ecosystem":"PyPI","package":"sentry","purl":"pkg:pypi/sentry","source":"pysec"}],"references":[{"url":"https://github.com/getsentry/sentry/security/advisories/GHSA-ggmg-cqg6-j45g","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27197","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/getsentry/sentry/pull/108458","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/getsentry/sentry","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/sentry","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-ggmg-cqg6-j45g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-02-24T18:59:48.802Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27197","url":"https://www.cve.org/CVERecord?id=CVE-2026-27197","licence":"CVE Terms of Use","modified":"2026-02-24T19:00:07.663Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ggmg-cqg6-j45g","url":"https://github.com/advisories/GHSA-ggmg-cqg6-j45g","licence":"CC-BY-4.0","modified":"2026-06-29T12:26:11.157Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27197","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27197","licence":"Public domain","modified":"2026-06-17T10:26:49.987Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-533","url":"https://osv.dev/vulnerability/PYSEC-2026-533","licence":"CC-BY-4.0","modified":"2026-09-10T11:15:09.023Z"}],"updatedAt":"2026-11-25T22:59:14.595Z","epss":{"score":0.00487,"percentile":0.4355,"date":"2026-12-01T12:00:22.000Z"}}