Advisory

GHSA-444r-2whx-3685

Also known as: CVE-2021-47935, PYSEC-2026-131

Summary

Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter

Details

Sentry 8.2.0 contains a remote code execution vulnerability that allows authenticated superusers to execute arbitrary commands by injecting malicious pickle-serialized objects through the audit log entry data parameter. Attackers can submit crafted POST requests to the admin audit log endpoint with base64-encoded compressed pickle payloads in the data field to achieve code execution with application privileges.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-10 15:31 UTC
Modified
2026-06-09 21:11 UTC

Affected packages and fixes

sentry

PyPI · All systems

Affected

  • introduced 0, fixed 8.1.4 (ecosystem)

Fixed versions

8.1.4

Fix

  • Fixed version 8.1.4
    pip install --upgrade sentry==8.1.4

sentry

PyPI · All systems

Affected

  • introduced 8.2.0, fixed 8.2.2 (ecosystem)

Fixed versions

8.2.2

Fix

  • Fixed version 8.2.2
    pip install --upgrade sentry==8.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences