{"id":"CVE-2021-47935","aliases":["EUVD-2021-34796","GHSA-444r-2whx-3685","PYSEC-2026-131"],"status":"published","title":"Sentry 8.2.0 Remote Code Execution via Pickle Deserialization","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.","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00927,"percentile":0.60937,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2026-05-10T12:43:54Z","modified":"2026-10-24T10:30:58Z","fixes":[{"ecosystem":"PyPI","package":"sentry","fixed_in":["8.1.4","8.2.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"sentry","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"sentry","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"sentry","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4"}]}],"versions":["2.0.0","2.0.0-Alpha1","2.0.0-RC5","2.0.0-RC6","2.0.0-RC7","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.2.0","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.4.2","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9","3.6.0","3.6.1","3.6.2","3.6.3","3.6.4","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.8.1","3.8.2","4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.14","4.0.15","4.0.16","4.0.17","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.10.0","4.2.0","4.2.1","4.2.2","4.2.4","4.2.5","4.3.0","4.3.1","4.3.2","4.3.3","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.4.1","4.5.4.2","4.5.5","4.5.6","4.5.7","4.6.0","4.7.0","4.7.1","4.7.2","4.7.3","4.7.4","4.7.5","4.7.6","4.7.7","4.7.8","4.7.9","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","4.9.6","4.9.7","4.9.7.1","4.9.8","5.0.0","5.0.1","5.0.10","5.0.11","5.0.11.1","5.0.12","5.0.13","5.0.14","5.0.15","5.0.16","5.0.16.1","5.0.17","5.0.17.1","5.0.17.2","5.0.18","5.0.18.1","5.0.18.2","5.0.19","5.0.2","5.0.20","5.0.20.1","5.0.21","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.8.1","5.0.9","5.1.0","5.1.1","5.1.1.1","5.1.1.2","5.1.2","5.1.3","5.1.4","5.1.5","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.5.0-DEV","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.1.0","6.1.1","6.1.2","6.2.0","6.2.1","6.2.2","6.2.3","6.3.0","6.3.1","6.3.2","6.3.3","6.4.0","6.4.1","6.4.2","6.4.2.1","6.4.3","6.4.4","7.0.0","7.0.1","7.0.2","7.1.0","7.1.1","7.1.2","7.1.3","7.1.4","7.2.0","7.3.0","7.3.1","7.3.2","7.4.0","7.4.1","7.4.3","7.5.0","7.5.1","7.5.2","7.5.3","7.5.4","7.5.6","7.6.0","7.6.2","7.7.0","7.7.1","7.7.4","8.0.0","8.0.0rc1","8.0.0rc2","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.1.1","8.1.2","8.1.3"]},{"source":"osv","ecosystem":"PyPI","package":"sentry","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}],"versions":["8.2.0","8.2.1"]},{"source":"osv","ecosystem":"PyPI","package":"sentry","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.2.0"}]}],"versions":["2.0.0","2.0.0-Alpha1","2.0.0-RC5","2.0.0-RC6","2.0.0-RC7","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.2.0","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.4.2","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9","3.6.0","3.6.1","3.6.2","3.6.3","3.6.4","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.8.1","3.8.2","4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.14","4.0.15","4.0.16","4.0.17","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.10.0","4.2.0","4.2.1","4.2.2","4.2.4","4.2.5","4.3.0","4.3.1","4.3.2","4.3.3","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.4.1","4.5.4.2","4.5.5","4.5.6","4.5.7","4.6.0","4.7.0","4.7.1","4.7.2","4.7.3","4.7.4","4.7.5","4.7.6","4.7.7","4.7.8","4.7.9","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","4.9.6","4.9.7","4.9.7.1","4.9.8","5.0.0","5.0.1","5.0.10","5.0.11","5.0.11.1","5.0.12","5.0.13","5.0.14","5.0.15","5.0.16","5.0.16.1","5.0.17","5.0.17.1","5.0.17.2","5.0.18","5.0.18.1","5.0.18.2","5.0.19","5.0.2","5.0.20","5.0.20.1","5.0.21","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.8.1","5.0.9","5.1.0","5.1.1","5.1.1.1","5.1.1.2","5.1.2","5.1.3","5.1.4","5.1.5","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.5.0-DEV","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.1.0","6.1.1","6.1.2","6.2.0","6.2.1","6.2.2","6.2.3","6.3.0","6.3.1","6.3.2","6.3.3","6.4.0","6.4.1","6.4.2","6.4.2.1","6.4.3","6.4.4","7.0.0","7.0.1","7.0.2","7.1.0","7.1.1","7.1.2","7.1.3","7.1.4","7.2.0","7.3.0","7.3.1","7.3.2","7.4.0","7.4.1","7.4.3","7.5.0","7.5.1","7.5.2","7.5.3","7.5.4","7.5.6","7.6.0","7.6.2","7.7.0","7.7.1","7.7.4","8.0.0","8.0.0rc1","8.0.0rc2","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.1.1","8.1.2","8.1.3","8.1.4","8.1.5","8.2.0"]}],"products":[{"vendor":"sentry","product":"sentry"}],"references":[{"url":"https://www.exploit-db.com/exploits/50318","tags":["exploit","Exploit","VDB Entry","evidence","web"]},{"url":"https://sentry.io/welcome/","tags":["product","Product","web"]},{"url":"https://www.vulncheck.com/advisories/sentry-remote-code-execution-via-pickle-deserialization","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47935","tags":["advisory"]},{"url":"https://sentry.io/welcome","tags":["web"]},{"url":"https://github.com/getsentry/sentry/commit/19a0ba63d9ffb6aff79c7b78e2fa951a94edd61a","tags":["web"]},{"url":"https://github.com/getsentry/sentry/commit/1f6090dc64b237c3da22bf35a5863a7136ac4669","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2026-131.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-444r-2whx-3685","tags":["advisory"]},{"url":"https://github.com/getsentry/sentry","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-47935","title":"Sentry 8.2.0 Remote Code Execution via Pickle Deserialization","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.","status":"published","published":"2026-05-10T12:43:54.239Z","modified":"2026-10-08T15:20:51.839Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:32:56.308189Z"}],"euvd":[{"id":"EUVD-2021-34796","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.","status":"published","published":"2026-05-10T12:43:54Z","modified":"2026-10-08T15:20:51Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T17:27:32.642438Z"}],"ghsa":[{"id":"GHSA-444r-2whx-3685","title":"Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter","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.","status":"published","published":"2026-05-10T15:31:19Z","modified":"2026-06-09T20:50:01Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:40:24.856614Z"}],"nvd":[{"id":"CVE-2021-47935","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.","status":"published","published":"2026-05-10T13:16:29.693Z","modified":"2026-10-08T16:16:45.107Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:07:09.005706Z"}],"osv":[{"id":"CVE-2021-47935","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.","status":"published","published":"2026-05-10T13:16:29.693Z","modified":"2026-10-24T10:30:58.045027645Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"GHSA-444r-2whx-3685","title":"Sentry: Superusers can execute arbitrary commands by injecting malicious pickle-serialized objects through audit log entry data parameter","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.","status":"published","published":"2026-05-10T15:31:19Z","modified":"2026-06-09T21:11:24.429940014Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:36.434231Z"},{"id":"PYSEC-2026-131","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.","status":"published","published":"2026-05-10T13:16:29.693Z","modified":"2026-06-10T17:02:39.015668061Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.622769Z"}]}}
