CVE-2023-39349 json
Sentry vulnerable to privilege escalation via ApiTokensEndpoint
published 2023-08-07 3 y ago modified 2026-07-07 4 mo ago also GHSA-9jcq-jf57-c62c , PYSEC-2026-1912 , EUVD-2023-2258
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi sentry 23.7.2
- getsentry sentry 23.7.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | sentry | >=22.1.0, <23.7.2 |
23.7.2 |
Affected products
- getsentry sentry
Classification
References
-
github.com
/getsentry/sentry/pull/53850
web, patch
-
github.com
/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083
web, patch
-
github.com
/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c
web, exploit, patch, third-party-advisory
-
github.com
/getsentry/self-hosted/releases/tag/23.7.2
web, release-notes
-
github.com
/getsentry/sentry/releases/tag/23.7.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-39349
advisory
-
github.com
/getsentry/sentry
package
-
pypi.org
/project/sentry
package
-
github.com
/advisories/GHSA-9jcq-jf57-c62c
advisory
Sources
- CVE List CVE-2023-39349
- GitHub Advisory GHSA-9jcq-jf57-c62c
- NVD CVE-2023-39349
- OSV PYSEC-2026-1912
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.