---
id: CVE-2023-36826
aliases:
  - GHSA-m4hc-m2v6-hfw8
  - PYSEC-2023-130
title: Improper authorization on debug and artifact file downloads
summary: Improper authorization on debug and artifact file downloads
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'
vendor: sentry
product: sentry
ecosystem: pip
affected:
  - 'sentry >= 8.21.0, < 23.5.2'
patched:
  - sentry 23.5.2
published: '2023-07-25'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:42.577885221Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-m4hc-m2v6-hfw8'
references:
  - url: >-
      https://github.com/getsentry/sentry/security/advisories/GHSA-m4hc-m2v6-hfw8
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-36826'
  - url: 'https://github.com/getsentry/sentry/pull/49680'
  - url: >-
      https://github.com/getsentry/sentry/commit/e932b15435bf36239431eaa3790a6bcfa47046a9
  - url: 'https://github.com/getsentry/sentry'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2023-130.yaml
tags:
  - osv
  - pip
epss: 0.00634
epssPercentile: 0.48098
ingestedAt: '2026-09-12T03:13:01.709Z'
---

## Overview

### Impact

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.

### Patches

A patch was issued 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](https://github.com/getsentry/self-hosted) users should upgrade to version 23.5.2 or higher.**

### References

- [Restrict file downloads to Project](https://github.com/getsentry/sentry/pull/49680)

## Affected packages

- `sentry >= 8.21.0, < 23.5.2`

## Remediation

Upgrade to a patched release:

- `sentry 23.5.2`
