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

High 7.7 Published Updated

Authenticated users can download debug or artifact bundles from arbitrary projects without proper authorization, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-36826?

CVE-2023-36826 is a high-severity missing authorization vulnerability in getsentry sentry, published on 25 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863, CWE-285

Which versions are affected by CVE-2023-36826?

3 open source packages ship an affected version, including sentry. It affects 1 product.

PackageAffectedFixed in
sentry PyPIFrom 8.21.023.5.2
sentry PyPIFrom 8.21.023.5.2
sentry PyPIFrom 8.21.023.5.2

Products include Sentry Sentry.

How do I fix CVE-2023-36826?

Upgrade sentry to 23.5.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-36826 being exploited?

There is no known exploitation of CVE-2023-36826 in the wild and no public exploit code.

Sources

Also known as GHSA-m4hc-m2v6-hfw8, PYSEC-2023-130.

Is CVE-2023-36826 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free