Medium

Sentry CORS misconfiguration

  • Disclosed: 06.07.2023
  • Updated: 11.10.2026 15:17

Impact

The Sentry API incorrectly returns the access-control-allow-credentials: true HTTP header if the Origin request header ends with the system.base-hostname option of Sentry installation. This only affects installations that have system.base-hostname option explicitly set, as it is empty by default.

Impact is limited since recent versions of major browsers have cross-site cookie blocking enabled by default. However, this flaw could allow other multi-step attacks.

Patches

The patch has been released in Sentry 23.6.2.

Workarounds

For Sentry SaaS customers, no action is needed.

For self-hosted Sentry installations that have system.base-hostname explicitly set, it is recommended to upgrade the installation to 23.6.2 or higher. There are no known workarounds.

References

Credits

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) sentry >= 23.6.0, < 23.6.2 23.6.2

References

CVSS score 6.8/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-697, CWE-863, CWE-942
Platform
Python (PyPI)
Package
sentry
Disclosed
06.07.2023
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2023-115 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-4xqm-4p72-87h6 - 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. High · 7.1 CVE-2024-45606 >= 23.4.0, < 24.9.0 24.9.0
  5. High · 6.5 CVE-2024-45605 >= 23.9.0, < 24.9.0 24.9.0
  6. High · 7.1 CVE-2024-41656 >= 10.0.0, < 24.7.1 24.7.1
  7. High · 7.3 CVE-2024-32474 >= 24.3.0, < 24.4.1 24.4.1
  8. High · 8.1 CVE-2023-39349 >= 22.1.0, < 23.7.2 23.7.2
  9. High · 7.7 CVE-2023-36826 >= 8.21.0, < 23.5.2 23.5.2
  10. Sentry CORS misconfiguration this entry
    Medium · 6.8 CVE-2023-36829 >= 23.6.0, < 23.6.2 23.6.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.