{"api_version":"1","generated_at":"2026-05-13T23:00:14+00:00","cve":"CVE-2023-39349","urls":{"html":"https://cve.report/CVE-2023-39349","api":"https://cve.report/api/cve/CVE-2023-39349.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-39349","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-39349"},"summary":{"title":"CVE-2023-39349","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-08-07 19:15:00","updated_at":"2023-08-10 17:04:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2","name":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2","refsource":"MISC","tags":[],"title":"Release 23.7.2 · getsentry/self-hosted · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/getsentry/sentry/pull/53850","name":"https://github.com/getsentry/sentry/pull/53850","refsource":"MISC","tags":[],"title":"SessionNoAuthTokenAuthentication custom authenticator by oioki · Pull Request #53850 · getsentry/sentry · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083","name":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083","refsource":"MISC","tags":[],"title":"SessionNoAuthTokenAuthentication custom authenticator (#53850) · getsentry/sentry@fad12c1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/getsentry/sentry/releases/tag/23.7.2","name":"https://github.com/getsentry/sentry/releases/tag/23.7.2","refsource":"MISC","tags":[],"title":"Release 23.7.2 · getsentry/sentry · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c","name":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c","refsource":"MISC","tags":[],"title":"Privilege escalation via ApiTokensEndpoint · Advisory · getsentry/sentry · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-39349","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39349","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"39349","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sentry","cpe5":"sentry","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-39349","qid":"994766","title":"Python (Pip) Security Update for sentry (GHSA-9jcq-jf57-c62c)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-39349","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-284: Improper Access Control","cweId":"CWE-284"}]},{"description":[{"lang":"eng","value":"CWE-287: Improper Authentication","cweId":"CWE-287"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"getsentry","product":{"product_data":[{"product_name":"sentry","version":{"version_data":[{"version_affected":"=","version_value":">= 22.1.0, < 23.7.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c","refsource":"MISC","name":"https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c"},{"url":"https://github.com/getsentry/sentry/pull/53850","refsource":"MISC","name":"https://github.com/getsentry/sentry/pull/53850"},{"url":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083","refsource":"MISC","name":"https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083"},{"url":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2","refsource":"MISC","name":"https://github.com/getsentry/self-hosted/releases/tag/23.7.2"},{"url":"https://github.com/getsentry/sentry/releases/tag/23.7.2","refsource":"MISC","name":"https://github.com/getsentry/sentry/releases/tag/23.7.2"}]},"source":{"advisory":"GHSA-9jcq-jf57-c62c","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-08-07 19:15:00","lastModifiedDate":"2023-08-10 17:04:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*","versionStartIncluding":"22.1.0","versionEndExcluding":"23.7.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}