CVE-2024-53253: Sentry improper error handling leaks Application Integration Client Secret
Impact During routine testing, we identified a scenario where a specific error message generated by our platform could include a plaintext Client ID and Client Secret for an application integration. The Client ID and Client Secret would not be displayed in the UI, but would be returned in the underlying HTTP response to the end user.
Published Nov 22, 2024 · Updated Jun 8, 2026
Affected packages
sentry
- Ecosystem
- PyPI
- Affected
- = 24.11.0
- Fixed in
- 24.11.1
- Check
pip show sentry
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
During routine testing, we identified a scenario where a specific error message generated by our platform could include a plaintext Client ID and Client Secret for an application integration. The Client ID and Client Secret would not be displayed in the UI, but would be returned in the underlying HTTP response to the end user. This could occur under the following conditions:
- An app installation made use of a Search UI component with the
asyncflag set to true (default: true), - A user types types into the Search Component which creates a request to the third-party for search or query results, and
- That third-party response may then fail validation and Sentry would return the
select-requester.invalid-responseerror code along with a serialized version of a Sentry application containing the integration Client Secret.
Should this error be found, it's reasonable to assume the potential exposure of an integration Client Secret. However, an ID and Secret pair alone does not provide direct access to any data. For that secret to be abused an attacker would also need to obtain a valid API token for a Sentry application.
Impact for SaaS Users
For Sentry SaaS users, we have confirmed that only a single application integration was impacted and the owner has rotated their Client Secret. We have also confirmed that no abuse of the leaked Client Secret has occurred.
Potential Impact for Self-Hosted Users
Sentry self-hosted does not ship with any application integrations. This could only impact self-hosted users that maintain their own integrations. In that case, search for a select-requester.invalid-response event. Please note that this error was also shared with another event unrelated to this advisory so you will also need to review the parameters logged for each named event. You may review select_requester.py for the instances where these errors can be generated. With the security fix this is no longer a shared event type.
Patches
- Sentry SaaS users do not need to take any action.
- Sentry self-hosted users should upgrade to 24.11.1 or higher.
References
- Bug introduced in https://github.com/getsentry/sentry/pull/79377
- Security fix in https://github.com/getsentry/sentry/pull/81038
Credited to Christinarlong.
References
- https://github.com/getsentry/sentry/security/advisories/GHSA-v5h2-q2w4-gpcx
- https://github.com/getsentry/sentry/pull/79377
- https://github.com/getsentry/sentry/pull/81038
- https://nvd.nist.gov/vuln/detail/CVE-2024-53253
- https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2024-310.yaml
- https://github.com/advisories/GHSA-v5h2-q2w4-gpcx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2021-47935
Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter
high8.8May 10, 2026CVE-2026-42354
Sentry's improper authentication on SAML SSO process allows user identity linking
critical9.1Apr 30, 2026CVE-2026-27197
Sentry: Improper authentication on SAML SSO process allows user identity linking
critical9.1No fixApr 17, 2026CVE-2025-22146
Sentry's improper authentication on SAML SSO process allows user impersonation
critical9.1Jan 15, 2025CVE-2024-45605
Sentry improperly authorizes deletion of user issue alert notifications
high6.5Sep 17, 2024CVE-2024-45606
Sentry improperly authorizes muting of alert rules
high7.1Sep 17, 2024
