CVE-2021-47952
python jsonpickle 2.0.0 Remote Code Execution via py/repr
- State
- Published
- Severity
- 9.3 Critical
- Published
- May 16, 2026
- Updated
- Jul 28, 2026
- Reserved
- Feb 1, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | 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 | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
python jsonpickleJsonpickle |
|
References
- ExploitDB-49585exploit
- Official Product Homepageproduct
- Product Referenceproduct
- VulnCheck Advisory: python jsonpickle 2.0.0 Remote Code Execution via py/reprthird-party-advisory
- https://access.redhat.com/security/cve/CVE-2021-47952vdb-entry
- RHBZ#2478170issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.