8.1

CVE-2023-39349: Sentry vulnerable to privilege escalation via ApiTokensEndpoint

Modified
AliasesGHSA-9jcq-jf57-c62cPYSEC-2026-1912
Published 07-08-2023Last modified 04-10-2024

Vulnerability summary

CVE-2023-39349 is a high (CVSS 8.1) Improper Access Control vulnerability in getsentry sentry. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
1.06%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 07-08-2023
    PublishedVulnerability first disclosed.
  2. 04-10-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.06%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.06% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Sentry

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Getsentry1 product
PyPI1 product
  • sentry≥ 22.1.0, < 23.7.2
Sentry1 product

3 vendors · 3 products

References

9 links