Loading...
Skip to main content

CVE-2025-22146 — Vulnerability in sentry — CVE Details

CRITICAL

Sentry's improper authentication on SAML SSO process allows user impersonation

Published June 29, 2026Updated July 1, 2026Source: osv

Summary

### Impact A critical vulnerability was discovered in the SAML SSO implementation of Sentry. It was reported to us via our private bug bounty program. The 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. ### Patches - [Sentry SaaS](https://sentry.io): The fix was deployed on Jan 14, 2025. - [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. Otherwise, users should upgrade to version 25.1.0 or higher. ### Workarounds No known workarounds. ### References - https://github.com/getsentry/sentry/pull/83407

Advisory Timeline

  • First published June 29, 2026 (105 days ago).
  • Last revised July 1, 2026 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update sentry to 25.1.0 or later
pip install "sentry>=25.1.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
sentry
pypi
21.12.0, 22.1.0, 22.10.0, 22.11.0 (+23 more)25.1.0

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2025-22146?
Sentry's improper authentication on SAML SSO process allows user impersonation This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2025-22146?
CVE-2025-22146 affects sentry. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-22146 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

PYSEC-2026-532
GHSA-7pq6-v88g-wf3w

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies