GitHub Advisoryadvisory · PyPI
GHSA-444r-2whx-3685 Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter
HIGH
Official page ↗
- Aliases
- CVE-2021-47935
- Ecosystem
- PyPI
- Packages
- sentry
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2026-06-09
Affected packages
• PyPI sentry: < 8.1.4 → fixed in 8.1.4
• PyPI sentry: >= 8.2.0, < 8.2.2 → fixed in 8.2.2
Description
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.
Related
Alias · CVE (1)
- CVE-2021-47935 Sentry 8.2.0 contains a remote code execution vulnerability that allows authenticated superusers to execute arbitrary commands by injecting… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-47935 advisory
- https://github.com/getsentry/sentry/commit/19a0ba63d9ffb6aff79c7b78e2fa951a94edd61a web
- https://github.com/getsentry/sentry/commit/1f6090dc64b237c3da22bf35a5863a7136ac4669 web
- https://github.com/getsentry/sentry package
- https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2026-131.yaml web
- https://sentry.io/welcome web
- https://www.exploit-db.com/exploits/50318 web
- https://www.vulncheck.com/advisories/sentry-remote-code-execution-via-pickle-deserialization web