What’s Vulnerable › Vulnerabilities
CVE-2021-47952: python jsonpickle 2.0.0 Remote Code Execution via py/repr
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-16 · updated 2026-07-15
- Weakness: CWE-94
Description
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.
Affected products
- Jsonpickle python jsonpickle: 2.0.0
References
- https://github.com/jsonpickle/jsonpickle
- https://jsonpickle.github.io
- https://www.exploit-db.com/exploits/49585
- https://www.vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr
- https://access.redhat.com/security/cve/CVE-2021-47952
- https://bugzilla.redhat.com/show_bug.cgi?id=2478170
- https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json
Get alerted when CVE-2021-47952 or the next vulnerability affects your stack