CVE-2023-39349
HIGH 8.1CVSS 3.1Privilege escalation via ApiTokensEndpoint
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.
- Published
- 7 Aug 2023
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284
- Also known as
- GHSA-9jcq-jf57-c62cPYSEC-2026-1912
- Sources
- NVDJSONOSV GHSA-9jcq-jf57-c62cJSONOSV PYSEC-2026-1912JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sentry | sentrycpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:* |
>= 22.1.0, < 23.7.2 | 23.7.2 |
| OSV | PyPI | sentry | >= 22.1.0, < 23.7.2 | 23.7.2 |
References
- https://github.com/getsentry/self-hosted/releases/tag/23.7.2 · Release Notes, WEB
- https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083 · Patch, WEB
- https://github.com/getsentry/sentry/pull/53850 · Patch, WEB
- https://github.com/getsentry/sentry/releases/tag/23.7.2 · Release Notes, WEB
- https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39349 · ADVISORY
- https://github.com/getsentry/sentry · PACKAGE
- https://pypi.org/project/sentry · PACKAGE
- https://github.com/advisories/GHSA-9jcq-jf57-c62c · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 7 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Aug 2023)