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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Jsonpickle | python jsonpickle | 2.0.0 |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
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
Timeline
- Published
- May 16, 2026
- Last modified
- Jul 15, 2026
- NVD status
- Deferred