# CVE-2023-39531: Sentry vulnerable to incorrect credential validation on OAuth token requests

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2023-08-09T16:09:34.265Z
- Modified: 2026-07-07T17:57:10.750Z
- Also known as: GHSA-hgj4-h2x3-rfx4, PYSEC-2026-1915
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Sentry is an error tracking and performance monitoring platform. Starting in version 10.0.0 and prior to version 23.7.2, an attacker with sufficient client-side exploits could retrieve a valid access token for another user during the OAuth token exchange due to incorrect credential validation. The client ID must be known and the API application must have already been authorized on the targeted user account. Sentry SaaS customers do not need to take any action. Self-hosted installations should upgrade to version 23.7.2 or higher. There are no direct workarounds, but users should review applications authorized on their account and remove any that are no longer needed.

(As written by CVE List.)

## Affected

- getsentry sentry: >= 10.0.0, < 23.7.2
- sentry (PyPI): from 10.0.0 before 23.7.2
- sentry sentry: from 10.0.0 before 23.7.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/getsentry/sentry/security/advisories/GHSA-hgj4-h2x3-rfx4> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39531> (advisory)
- <https://github.com/getsentry/sentry> (package)
- <https://pypi.org/project/sentry> (package)
- <https://github.com/advisories/GHSA-hgj4-h2x3-rfx4> (advisory)

## Sources

- CVE List: [CVE-2023-39531](https://www.cve.org/CVERecord?id=CVE-2023-39531), CVE Terms of Use, modified 2024-10-03
- GitHub Advisory Database: [GHSA-hgj4-h2x3-rfx4](https://github.com/advisories/GHSA-hgj4-h2x3-rfx4), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-39531](https://nvd.nist.gov/vuln/detail/CVE-2023-39531), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1915](https://osv.dev/vulnerability/PYSEC-2026-1915), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-39531 · Whole record: https://cve.day/CVE-2023-39531.json · Rebuilt by cve.day 2026-11-25T22:58:26.984Z
