PyPI: sentry

CVE-2024-32474

Safety vulnerability ID: SFTY-20240418-69710

Safety legacy ID: pyup.io-71926

When authenticating as a superuser to a self-hosted Sentry instance with a username and password, the password is leaked as cleartext in logs under the event: auth-index.validate_superuser. An attacker with access to the log data could use these leaked credentials to log in to the Sentry system as a superuser.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Sentry vulnerable to leaking superuser cleartext password in logs

Advisory

When authenticating as a superuser to a self-hosted Sentry instance with a username and password, the password is leaked as cleartext in logs under the event: auth-index.validate_superuser. An attacker with access to the log data could use these leaked credentials to log in to the Sentry system as a superuser.

Affected Package

Affecting sentry package, versions>=24.3.0,<24.4.1

Also affects

---

How to Fix

We recommend updating sentry to the latest non-vulnerable version.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more