Read the docs
TI-2023-20488 Aliases CVE-2023-39349GHSA-9jcq-jf57-c62c

Sentry vulnerable to privilege escalation via ApiTokensEndpoint

Priority LOW 39CWE-284Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01056 64th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed sentry (getsentry): 23.7.2sentry (PyPI): 23.7.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getsentrysentry22.1.0 to before 23.7.223.7.2Patch availableCNA
—sentry (PyPI)22.1.0 to before 23.7.223.7.2Patch availableGHSA-9jcq-jf57-c62c
  • sentry Vendorgetsentry Affected 22.1.0 to before 23.7.2 Fixed in 23.7.2 Patch available CNA
  • sentry (PyPI) Vendor— Affected 22.1.0 to before 23.7.2 Fixed in 23.7.2 Patch available GHSA-9jcq-jf57-c62c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*22.1.0 to before 23.7.2VulnerableSentry
  • cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:* Versions 22.1.0 to before 23.7.2 Vulnerable ·Sentry

Remediation

  • Fix · CNA sentry (getsentry) Fixed in 23.7.2
  • Fix · GHSA-9jcq-jf57-c62c sentry (PyPI) Fixed in 23.7.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-39349
  2. 2026-10-03 Alias added: GHSA-9jcq-jf57-c62c

References

  • TI-2026-21018 Sentry allows unauthorized access to event data across organizational boundaries CVSS 4.0MEDIUM 5.7
  • TI-2026-30656 Sentry: Improper authentication on SAML SSO process allows user identity linking CVSS 3.1CRITICAL 9.8
  • TI-2026-78982 Sentry-Javascript: Middleware Bypass when using Tunnel route CVSS 4.0CRITICAL 9.1
  • TI-2025-16094 Improper authentication on SAML SSO process allows user impersonation in sentry CVSS 3.1CRITICAL 9.1
  • TI-2023-25212 Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint CVSS 3.1CRITICAL 9.3
  • TI-2026-21634 Sentry: Improper Authentication on SAML SSO process allows user identity linking CVSS 3.1CRITICAL 9.1
See all 28 →

Sources