{"id":"CVE-2021-47952","published":"2026-05-16T15:26:06Z","modified":"2026-07-28T01:47:30Z","title":"python jsonpickle 2.0.0 Remote Code Execution via py/repr","vendor":"Jsonpickle","product":"python jsonpickle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02105,"percentile":0.82097,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://www.exploit-db.com/exploits/49585","tags":["exploit"]},{"url":"https://jsonpickle.github.io","tags":["product"]},{"url":"https://github.com/jsonpickle/jsonpickle","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr","tags":["third-party-advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-47952","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2478170","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":28.3,"factors":[{"name":"EPSS percentile","points":16.42},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-02-24"},"first":{"date":"2021-02-24","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49585"},"provenance":"source"},"vendorSlug":"jsonpickle","affectedVersions":[{"vendor":"Jsonpickle","product":"python jsonpickle","versions":["2.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-18T17:00:43.878538Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34842","exploited":false,"provenance":"source"},"exploits":[{"id":49585,"url":"https://www.exploit-db.com/exploits/49585","title":"Python jsonpickle 2.0.0 - 'loadrepr()' Remote Code Execution (RCE)","date":"2021-02-24","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/49585"]}