Skip to main content
← All vulnerabilities
CVE-2023-39349GHSA-9JCQ-JF57-C62CPYSEC-2026-1912

Sentry vulnerable to privilege escalation via ApiTokensEndpoint

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 23.7.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Sentry is an error tracking and performance monitoring platform. Starting in version 22.1.0 and prior to version 23.7.2, an attacker with access to a token with few or no scopes can query `/api/0/api-tokens/` for a list of all tokens created by a user, including tokens with greater scopes, and use those tokens in other requests. There is no evidence that the issue was exploited on `sentry.io`. For self-hosted users, it is advised to rotate user auth tokens. A fix is available in version 23.7.2 of `sentry` and `self-hosted`. There are no known workarounds.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • getsentry sentry

    From 22.1.0 · fixed in 23.7.2

  • sentryPyPI

    From 22.1.0 · fixed in 23.7.2

References 5

GitHub · getsentry/sentry

GitHub · getsentry/self-hosted