{"id":"CVE-2025-53099","summary":"Sentry Missing Invalidation of Authorization Codes During OAuth Exchange and Revocation","details":"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.","aliases":["GHSA-mgh8-h4xc-pfmj"],"modified":"2026-08-12T03:51:13.776051759Z","published":"2025-07-01T14:53:16.878Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53099.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-288"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53099.json"},{"type":"ADVISORY","url":"https://github.com/getsentry/sentry/security/advisories/GHSA-mgh8-h4xc-pfmj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53099"},{"type":"FIX","url":"https://github.com/getsentry/sentry/commit/57f0129e1e977b76fe8d16667a586578791a3dcd"},{"type":"FIX","url":"https://github.com/getsentry/sentry/commit/ab5fd932ca6bd46529ba3308b4669e3cee719b8f"},{"type":"FIX","url":"https://github.com/getsentry/sentry/commit/e6241254aead969e6c8490a81cde9a01335df19d"},{"type":"FIX","url":"https://github.com/getsentry/sentry/pull/85570"},{"type":"FIX","url":"https://github.com/getsentry/sentry/pull/85571"},{"type":"FIX","url":"https://github.com/getsentry/sentry/pull/86069"},{"type":"FIX","url":"https://github.com/getsentry/sentry/pull/86532"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getsentry/sentry","events":[{"introduced":"0"},{"fixed":"0ca201c57b46b15822cac6749bd2ffcecb7a5ffe"},{"fixed":"57f0129e1e977b76fe8d16667a586578791a3dcd"},{"fixed":"ab5fd932ca6bd46529ba3308b4669e3cee719b8f"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"25.5.0"}]}}],"versions":["8.1.0","8.0.0","8.0.0-rc1","6.2.3","6.2.2","6.2.1","6.2.0","6.1.2","6.1.1","6.1.0","6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","5.3.3","5.3.2","5.3.1","5.3.0","5.2.1","5.2.0","5.1.5","5.1.4","5.1.3","5.1.2","5.1.1.2","5.1.1.1","5.1.1","5.1.0","4.10.0","4.9.8","4.9.7.1","4.9.7","4.9.6","4.9.5","4.9.4","4.9.0","4.8.6","4.8.5","4.8.4","4.8.3","4.8.2","4.8.1","4.8.0","4.7.7","4.7.4","4.7.3","4.7.2","4.7.1","4.7.0","4.6.0","4.5.7","4.5.6","4.5.5","4.5.4","4.5.3","4.5.2","4.5.1","4.5.0","4.4.6","4.4.5","4.4.4","4.4.3","4.4.2","4.4.1","4.4.0","4.3.3","4.3.2","4.3.1","4.3.0","4.2.5","4.2.4","4.2.2","4.2.1","4.2.0","4.1.7","4.1.6","4.1.5","4.1.4","4.1.3","4.1.2","4.1.1","4.1.0","4.0.17","4.0.16","4.0.15","4.0.14","4.0.13","4.0.12","4.0.11","4.0.10","4.0.9","4.0.8","4.0.7","4.0.6","4.0.5","4.0.4","4.0.3","4.0.2","4.0.0","3.8.1","3.8.0","3.7.4","3.7.3","3.7.2","3.7.1","3.7.0","3.6.4","3.6.3","3.6.2","3.6.1","3.6.0","3.5.9","3.5.8","3.5.7","3.5.6","3.5.5","3.5.3","3.5.2","3.5.1","3.5.0","3.4.2","3.4.1","3.4.0","3.3.2","3.3.1","3.3.0","3.2.0","3.1.4","3.1.3","3.1.2","3.1.1","3.1.0","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.9.0","1.4.3","2.8.1","2.8.0","2.7.0","2.6.2","2.6.1","2.6.0","2.5.2","2.5.1","2.5.0","2.4.5","2.4.4","2.4.3","2.4.2","2.4.1","2.4.0","2.3.2","2.3.1","2.3.0","2.2.5","2.2.4","2.2.3","2.2.2","2.2.1","2.2.0","2.1.2","2.1.1","2.1.0","2.0.2","2.0.1","2.0.0","2.0.0-RC9","2.0.0-RC7","2.0.0-RC5","v1.11.3","1.11.3","v1.11.2","1.11.2","v1.11.1","1.11.1","v1.11.0","1.11.0","v1.10.1","1.10.1","v1.10.0","1.10.0","v1.8.8","1.8.8","v1.7.3","1.7.3","v1.6.8.1","1.6.8.1","v1.6.8","1.6.8","v1.6.7","1.6.7","v1.6.5","1.6.5","v1.6.4","1.6.4","v1.6.2","1.6.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53099.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}