{"id":"CVE-2023-39349","aliases":["GHSA-9jcq-jf57-c62c","PYSEC-2026-1912"],"url":"https://o3.security/vulnerability/CVE-2023-39349","summary":"Sentry vulnerable to privilege escalation via ApiTokensEndpoint","details":"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":"2023-08-07T18:27:12.396Z","modified":"2026-08-07T11:49:39.567804028Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"sentry","fixedVersion":"23.7.2"}],"fix":{"url":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083","label":"getsentry/sentry@fad12c1"},"references":[{"type":"WEB","url":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2"},{"type":"WEB","url":"https://github.com/getsentry/sentry/releases/tag/23.7.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39349.json"},{"type":"ADVISORY","url":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39349"},{"type":"FIX","url":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083"},{"type":"FIX","url":"https://github.com/getsentry/sentry/pull/53850"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:49:39.567804028Z"}}