# CVE-2025-53099: Sentry Missing Invalidation of Authorization Codes During OAuth Exchange and Revocation

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- 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.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-07-01T14:53:16.878Z
- Modified: 2026-06-17T09:37:37.383Z
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Sentry is a developer-first error tracking and performance monitoring tool. Prior to version 25.5.0, an attacker with a malicious OAuth application registered with Sentry can take advantage of a race condition and improper handling of authorization code within Sentry to maintain persistence to a user's account. With a specially timed requests and redirect flows, an attacker could generate multiple authorization codes that could be used to exchange for access and refresh tokens. This was possible even after de-authorizing the particular application. This issue has been patched in version 25.5.0. Self-hosted Sentry users should upgrade to version 25.5.0 or higher. Sentry SaaS users do not need to take any action.

(As written by CVE List.)

## Affected

- getsentry sentry: < 25.5.0
- sentry sentry: before 25.5.0

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getsentry/sentry/security/advisories/GHSA-mgh8-h4xc-pfmj> (vendor-advisory)
- <https://github.com/getsentry/sentry/pull/85570> (issue-tracking, patch)
- <https://github.com/getsentry/sentry/pull/85571> (issue-tracking, patch)
- <https://github.com/getsentry/sentry/pull/86069> (issue-tracking)
- <https://github.com/getsentry/sentry/pull/86532> (issue-tracking)
- <https://github.com/getsentry/sentry/commit/57f0129e1e977b76fe8d16667a586578791a3dcd> (patch)
- <https://github.com/getsentry/sentry/commit/ab5fd932ca6bd46529ba3308b4669e3cee719b8f> (patch)
- <https://github.com/getsentry/sentry/commit/e6241254aead969e6c8490a81cde9a01335df19d> (patch)

## Sources

- CVE List: [CVE-2025-53099](https://www.cve.org/CVERecord?id=CVE-2025-53099), CVE Terms of Use, modified 2025-07-01
- NVD: [CVE-2025-53099](https://nvd.nist.gov/vuln/detail/CVE-2025-53099), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53099 · Whole record: https://cve.day/CVE-2025-53099.json · Rebuilt by cve.day 2026-11-25T22:59:00.445Z
