CVE-2025-53099: Sentry Missing Invalidation of Authorization Codes During OAuth Exchange and Revocation
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.
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · CWE-288
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
getsentry: sentry
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/getsentry/sentry/commit/57f0129e1e977b76fe8d16667a586578791a3dcd (opens in new tab)
- github.com/getsentry/sentry/commit/ab5fd932ca6bd46529ba3308b4669e3cee719b8f (opens in new tab)
- github.com/getsentry/sentry/commit/e6241254aead969e6c8490a81cde9a01335df19d (opens in new tab)
- github.com/getsentry/sentry/pull/85570 (opens in new tab)
- github.com/getsentry/sentry/pull/85571 (opens in new tab)
- github.com/getsentry/sentry/pull/86069 (opens in new tab)
- github.com/getsentry/sentry/pull/86532 (opens in new tab)
- github.com/getsentry/sentry/security/advisories/GHSA-mgh8-h4xc-pfmj (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)