{"id":"CVE-2021-47952","aliases":["EUVD-2021-34842","GHSA-gv3j-fjgf-469v","UBUNTU-CVE-2021-47952"],"status":"published","title":"python jsonpickle 2.0.0 Remote Code Execution via py/repr","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.","severity":{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00696,"percentile":0.53461,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-502","CWE-94"],"published":"2026-05-16T15:26:06Z","modified":"2026-11-09T12:49:10Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1build1","0.9.2-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.5-0ubuntu1","0.9.5-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.5-1","1.2-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","2.0.0+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.0+dfsg1-1","3.0.2+dfsg-1","3.0.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2+dfsg-1","4.0.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"jsonpickle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2+dfsg-2","4.0.2+dfsg-3"]}],"products":[{"vendor":"jsonpickle","product":"python jsonpickle"},{"vendor":"red hat","product":"red hat ansible automation platform 2"}],"references":[{"url":"https://www.exploit-db.com/exploits/49585","tags":["exploit","report"]},{"url":"https://jsonpickle.github.io","tags":["product","report"]},{"url":"https://github.com/jsonpickle/jsonpickle","tags":["product","report"]},{"url":"https://www.vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr","tags":["third-party-advisory","report"]},{"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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47952"},{"url":"https://github.com/advisories/GHSA-gv3j-fjgf-469v"},{"url":"https://ubuntu.com/security/CVE-2021-47952","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-47952","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-47952","title":"python jsonpickle 2.0.0 Remote Code Execution via py/repr","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.","status":"published","published":"2026-05-16T15:26:06.248Z","modified":"2026-07-28T01:47:30.622Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T14:32:56.308189Z"}],"euvd":[{"id":"EUVD-2021-34842","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.","status":"published","published":"2026-05-16T15:26:06Z","modified":"2026-07-28T01:47:30Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"updated_at":"2026-11-02T18:02:32.984181Z"}],"ghsa":[{"id":"GHSA-gv3j-fjgf-469v","title":"python jsonpickle 2.0.0 contains a remote code execution vulnerability that allows attackers to...","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 system commands and arbitrary code.","status":"published","published":"2026-05-16T18:31:38Z","modified":"2026-06-27T06:30:24Z","cvss":[{"version":"4.0","score":9.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T15:09:01.878033Z"}],"nvd":[{"id":"CVE-2021-47952","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.","status":"published","published":"2026-05-16T16:16:21.52Z","modified":"2026-07-15T02:17:05.733Z","cvss":[{"version":"4.0","score":9.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T14:07:09.005706Z"}],"osv":[{"id":"UBUNTU-CVE-2021-47952","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.","status":"published","published":"2026-05-16T16:16:00Z","modified":"2026-11-09T12:49:10.958465964Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"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","level":"critical"}],"updated_at":"2026-11-09T13:27:42.046613Z"}]}}
