CVE-2023-39349Sentry
High 8.1
Follow: this CVE · Sentry · Sentry We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- Aug 7, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Sentry.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | sentry |
≥ 22.1.0 < 23.7.2 |
23.7.2 |
pip install "sentry>=23.7.2" |
| PyPI | sentry |
≥ 22.1.0 < 23.7.2 |
23.7.2 |
pip install "sentry>=23.7.2" |
Per OSV / GitHub Advisories (GHSA-9jcq-jf57-c62c, PYSEC-2026-1912). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sentry | sentry | ≥ 22.1.0 < 23.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Exploit Patch Third Party Advisory