Sentry's superuser cleartext password leaked in logs
Description
Sentry is an error tracking and performance monitoring platform. Prior to 24.4.1, when authenticating as a superuser to Sentry 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 login to the Sentry system as superuser. Self-hosted users on affected versions should upgrade to 24.4.1 or later. Users can configure the logging level to exclude logs of the INFO level and only generate logs for levels at WARNING or more.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sentryPyPI | >= 24.3.0, < 24.4.1 | 24.4.1 |
Affected products
1Patches
1d5b34568d9f1chore(auth): explicitly log challenge and response for debugging (#69148)
1 file changed · +0 −1
src/sentry/api/endpoints/auth_index.py+0 −1 modified@@ -140,7 +140,6 @@ def _validate_superuser( logger.info( "auth-index.validate_superuser", extra={ - "validator": validator, "user": request.user.id, "raise_exception": not DISABLE_SSO_CHECK_FOR_LOCAL_DEV, "verify_authenticator": verify_authenticator,
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-6cjm-4pxw-7xp9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-32474ghsaADVISORY
- github.com/getsentry/sentry/commit/d5b34568d9f1c41362ccb62141532a0a2169512fghsax_refsource_MISCWEB
- github.com/getsentry/sentry/pull/66393ghsax_refsource_MISCWEB
- github.com/getsentry/sentry/pull/69148ghsax_refsource_MISCWEB
- github.com/getsentry/sentry/security/advisories/GHSA-6cjm-4pxw-7xp9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.