# CVE-2023-36829: Sentry CORS misconfiguration

Source: https://junglewise.ai/threats/cve-2023-36829-sentry-cors-misconfiguration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-06  
License: CC BY 4.0 with a link back

CVE-2023-36829 · Severity: low · CVSS 3.1 · Published 2023-07-06

Sentry is an error tracking and performance monitoring platform. Starting in version 23.6.0 and prior to version 23.6.2, 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. The patch has been released in Sentry 23.6.2.

Technologies: [sentry (PyPI)](https://junglewise.ai/threats/technologies/pypi-sentry). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-36829 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-36829 being exploited in the wild.

**How severe is CVE-2023-36829?** Low severity, with a CVSS score of 3.1, published 6 July 2023.

**Which products and versions are affected?** sentry (PyPI) ECOSYSTEM:introduced=23.6.0,fixed=23.6.2, GIT:introduced=0,fixed=ee44c6be35e5e464bc40637580f39867898acd8b|ECOSYSTEM:introduced=23.6.0,fixed=23.6.2.

**Is there a fix for CVE-2023-36829?** Yes. sentry (PyPI): upgrade to 23.6.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-36829?** Check whether you run sentry (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- sentry (PyPI): upgrade to 23.6.2 or later

  ```sh
  pip install "sentry>=23.6.2"
  ```


## Affected products

- sentry (PyPI) ECOSYSTEM:introduced=23.6.0,fixed=23.6.2, GIT:introduced=0,fixed=ee44c6be35e5e464bc40637580f39867898acd8b|ECOSYSTEM:introduced=23.6.0,fixed=23.6.2

## Identifiers

- CVE-2023-36829
- GHSA-4xqm-4p72-87h6
- PYSEC-2023-115

## Related threats

- [PYSEC-2026-1916 - Sentry improperly authorizes muting of alert rules](https://junglewise.ai/threats/cve-2024-45606-sentry-improperly-authorizes-muting-of-alert-rules)
- [PYSEC-2026-1910 - Sentry improperly authorizes deletion of user issue alert notifications](https://junglewise.ai/threats/cve-2024-45605-sentry-improperly-authorizes-deletion-of-user-issue-alert)
- [PYSEC-2026-1914 - Sentry vulnerable to stored Cross-Site Scripting (XSS)](https://junglewise.ai/threats/cve-2024-41656-sentry-vulnerable-to-stored-cross-site-scripting-xss)
- [PYSEC-2026-1913 - Slack integration leaks sensitive information in logs](https://junglewise.ai/threats/cve-2024-35196-slack-integration-leaks-sensitive-information-in-logs)
- [PYSEC-2026-1911 - Sentry vulnerable to leaking superuser cleartext password in logs](https://junglewise.ai/threats/cve-2024-32474-sentry-vulnerable-to-leaking-superuser-cleartext-password-in-logs)
