CVE-2023-39349Sentry vulnerable to privilege escalation via ApiTokensEndpoint
- 8.1HighCVSS base score
- 1.1%Exploitation in 30 daysEPSS · top 35% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 10 days later
· 10 days later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIsentryGHSA-9jcq-jf57-c62c (opens in a new tab)
References
References5
- https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/getsentry/sentry/pull/53850 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/getsentry/self-hosted/releases/tag/23.7.2 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/getsentry/sentry/releases/tag/23.7.2 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2258 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9jcq-jf57-c62c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-39349)Record last updated .