Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sentry
  4. ›
  5. CVE-2021-47935

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

May 10, 2026 (updated June 9, 2026)

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

  • github.com/advisories/GHSA-444r-2whx-3685
  • github.com/getsentry/sentry/commit/19a0ba63d9ffb6aff79c7b78e2fa951a94edd61a
  • github.com/getsentry/sentry/commit/1f6090dc64b237c3da22bf35a5863a7136ac4669
  • github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2026-131.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-47935
  • sentry.io/welcome
  • www.exploit-db.com/exploits/50318
  • www.vulncheck.com/advisories/sentry-remote-code-execution-via-pickle-deserialization

Code Behaviors & Features

Detect and mitigate CVE-2021-47935 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.1.4, all versions starting from 8.2.0 before 8.2.2

Fixed versions

  • 8.1.4
  • 8.2.2

Solution

Upgrade to versions 8.1.4, 8.2.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/sentry/CVE-2021-47935.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:22 +0000.