Medium

Sentry improper error handling leaks Application Integration Client Secret

  • Disclosed: 22.11.2024
  • Updated: 11.10.2026 12:19

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 async flag 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-response error 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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) sentry >= 24.11.0, < 24.11.1 24.11.1

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-209
Platform
Python (PyPI)
Package
sentry
Disclosed
22.11.2024
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2024-310 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-v5h2-q2w4-gpcx - CC BY 4.0

Vulnerability history: sentry

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (15) in the archive
Total entries
15
First → latest
12.2022 05.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 7
  • Medium 4
  • Low 1

Disclosures per year

  1. 2022: 1
  2. 2023: 4
  3. 2024: 6
  4. 2025: 1
  5. 2026: 3
Severity:
  1. Critical · 9.1 CVE-2026-42354 >= 21.12.0, < 26.4.1 26.4.1
  2. Critical · 9.1 CVE-2026-27197 >= 21.12.0, < 26.2.0 26.2.0
  3. Critical · 9.1 CVE-2025-22146 >= 21.12.0, < 25.1.0 25.1.0
  4. Sentry improper error handling leaks Application Integration Client Secret this entry
    Medium · 5.3 CVE-2024-53253 >= 24.11.0, < 24.11.1 24.11.1
  5. High · 7.1 CVE-2024-45606 >= 23.4.0, < 24.9.0 24.9.0
  6. High · 6.5 CVE-2024-45605 >= 23.9.0, < 24.9.0 24.9.0
  7. High · 7.1 CVE-2024-41656 >= 10.0.0, < 24.7.1 24.7.1
  8. High · 7.3 CVE-2024-32474 >= 24.3.0, < 24.4.1 24.4.1
  9. High · 8.1 CVE-2023-39349 >= 22.1.0, < 23.7.2 23.7.2
  10. High · 7.7 CVE-2023-36826 >= 8.21.0, < 23.5.2 23.5.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.