CVE-2025-53099
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.
Does this matter?
Lower severity and a low EPSS score (0.69%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 4.0
- 5.5 MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 0.69% probability · 51th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-288
- Affected
- sentry/sentry
- Source
- security-advisories@github.com
References
- https://github.com/getsentry/sentry/commit/57f0129e1e977b76fe8d16667a586578791a3dcdPatch
- https://github.com/getsentry/sentry/commit/ab5fd932ca6bd46529ba3308b4669e3cee719b8fPatch
- https://github.com/getsentry/sentry/commit/e6241254aead969e6c8490a81cde9a01335df19dPatch
- https://github.com/getsentry/sentry/pull/85570Issue Tracking, Patch
- https://github.com/getsentry/sentry/pull/85571Issue Tracking, Patch
- https://github.com/getsentry/sentry/pull/86069Issue Tracking
- https://github.com/getsentry/sentry/pull/86532Issue Tracking
- https://github.com/getsentry/sentry/security/advisories/GHSA-mgh8-h4xc-pfmjVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.