ADVISORIES

GitHub Advisory Database

GHSA-444r-2whx-3685

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.

Affected packages

EcosystemPackageAffected versions
PyPIsentry
All versions before 8.1.4 (fixed in 8.1.4)
PyPIsentry
From 8.2.0 before 8.2.2 (fixed in 8.2.2)

References