{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-39349","id":"CVE-2023-39349","title":"Sentry vulnerable to privilege escalation via ApiTokensEndpoint","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","descriptionLong":"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","updated":"2026-10-28T02:30:48.082367109Z","reserved":"2023-07-28T13:26:46.477Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["getsentry sentry"],"affectedProducts":[{"vendor":"getsentry","product":"sentry","defaultStatus":null,"versions":[{"version":">= 22.1.0, < 23.7.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"sentry","purl":"pkg:pypi/sentry","ranges":[">=22.1.0 <23.7.2"],"fixed":["23.7.2"],"advisory":"GHSA-9jcq-jf57-c62c"}],"cwes":["CWE-284","CWE-287"],"aliases":["GHSA-9jcq-jf57-c62c","PYSEC-2026-1912"],"references":[{"url":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/getsentry/sentry/pull/53850","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/getsentry/sentry/releases/tag/23.7.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39349.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39349","tags":["advisory"]},{"url":"https://github.com/getsentry/sentry","tags":["package"]},{"url":"https://pypi.org/project/sentry","tags":["package"]},{"url":"https://github.com/advisories/GHSA-9jcq-jf57-c62c","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01056,"epssPercentile":0.65094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-39349","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39349","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-39349","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9jcq-jf57-c62c","ok":true,"note":"GHSA-9jcq-jf57-c62c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-39349","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}