CVE-2021-47935: Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter
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.
Published May 10, 2026 · Updated Jun 9, 2026
Affected packages
sentry
- Ecosystem
- PyPI
- Affected
- < 8.1.4
- Fixed in
- 8.1.4
- Check
pip show sentry
sentry
- Ecosystem
- PyPI
- Affected
- >= 8.2.0, < 8.2.2
- Fixed in
- 8.2.2
- Check
pip show sentry
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-47935
- https://sentry.io/welcome
- https://www.exploit-db.com/exploits/50318
- https://www.vulncheck.com/advisories/sentry-remote-code-execution-via-pickle-deserialization
- https://github.com/getsentry/sentry/commit/19a0ba63d9ffb6aff79c7b78e2fa951a94edd61a
- https://github.com/getsentry/sentry/commit/1f6090dc64b237c3da22bf35a5863a7136ac4669
- https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2026-131.yaml
- https://github.com/advisories/GHSA-444r-2whx-3685
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-42354
Sentry's improper authentication on SAML SSO process allows user identity linking
critical9.1Apr 30, 2026CVE-2026-27197
Sentry: Improper authentication on SAML SSO process allows user identity linking
critical9.1No fixApr 17, 2026CVE-2025-22146
Sentry's improper authentication on SAML SSO process allows user impersonation
critical9.1Jan 15, 2025CVE-2024-53253
Sentry improper error handling leaks Application Integration Client Secret
medium5.3Nov 22, 2024CVE-2024-45605
Sentry improperly authorizes deletion of user issue alert notifications
high6.5Sep 17, 2024CVE-2024-45606
Sentry improperly authorizes muting of alert rules
high7.1Sep 17, 2024
