CVE-2023-39531
JSON

6.5medium

Sentry vulnerable to incorrect credential validation on OAuth token requests

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hgj4-h2x3-rfx4PYSEC-2026-1915

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.

Affected

Product or packageVersionsReported by
getsentry sentry>= 10.0.0, < 23.7.2CVE List
sentry (PyPI)from 10.0.0 before 23.7.2GitHub Advisory Database, PyPA Advisory Database
sentry sentryfrom 10.0.0 before 23.7.2NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
NVD6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Remediation
  • Sentry SaaS customers do not need to take any action. Those with the highest risk will be contacted directly by Sentry.
  • Self-hosted installations should upgrade to version 23.7.2 or higher.
Workarounds

There are no direct workarounds, but users should review applications authorized on their account (User Settings > Authorized Applications) and remove any that are no longer needed.

NVD (es)

Sentry es una plataforma de seguimiento de errores y monitorización del rendimiento. A partir de la versión 10.0.0 y antes de la versión 23.7.2, un atacante con suficientes exploits del lado del cliente podría recuperar un token de acceso válido para otro usuario durante el intercambio de tokens OAuth debido a una validación de credenciales incorrecta. El ID del cliente debe ser conocido y la aplicación API debe haber sido ya autorizada en la cuenta del usuario objetivo. Los clientes de Sentry SaaS no necesitan realizar ninguna acción. Las instalaciones autoalojadas deben actualizarse a la versión 23.7.2 o superior. No hay soluciones directas, pero los usuarios deben revisar las aplicaciones autorizadas en su cuenta y eliminar las que ya no sean necesarias.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-39531 changed 2024-10-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-hgj4-h2x3-rfx4 changed 2026-07-07CC-BY-4.0
NVDCVE-2023-39531 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1915 changed 2026-07-07CC-BY-4.0