CVE-2023-39349
published high CVSS 3.1 · 8.1Sentry vulnerable to privilege escalation via ApiTokensEndpoint
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getsentry | sentry | >= 22.1.0, < 23.7.2 (affected) | GitHub_M · cna |
| getsentry | sentry | 22.1.0 to < 23.7.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-287 CWE-287: Improper Authentication
References
5- https://github.com/getsentry/self-hosted/releases/tag/23.7.2
- https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083
- https://github.com/getsentry/sentry/pull/53850
- https://github.com/getsentry/sentry/releases/tag/23.7.2
- https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c
Provider assertions
3GitHub_M · cna
Sentry vulnerable to privilege escalation via ApiTokensEndpoint
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e7cbb75a9d32ba4f93b2ff807a9ccf5b94d52a857abed99c0806cf388cd20171
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record