CVE-2021-47952: Vulnerability in Jsonpickle Python jsonpickle
Critical. python jsonpickle 2.0.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary Python commands by deserializing malicious JSON payloads containing py/repr objects. Attackers can craft JSON strings with py/repr directives that invoke the eval function during deserialization to execute arbitrary code.
CWE-94, CWE-502
- Exploitation
- None confirmed
- Severity
- 9.3 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-94, CWE-502
- Published
- 16 May 2026
- Last change
- 28 Jul 2026
Affected products
Affected versions and the first fixed release
- Jsonpickle Python jsonpickle Version 2.0.0. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/jsonpickle/jsonpickle
- jsonpickle.github.io
- vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr
- access.redhat.com/security/cve/CVE-2021-47952
- bugzilla.redhat.com/show_bug.cgi
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Python jsonpickle vulnerabilities Recent advisories, watch this product