CVE-2021-47952 PUBLISHED

python jsonpickle 2.0.0 Remote Code Execution via py/repr

Assigner: VulnCheck
Reserved: 01.02.2026 Published: 16.05.2026 Updated: 16.05.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor Jsonpickle
Product python jsonpickle
Versions
  • Version 2.0.0 is affected

Credits

  • Adi Malyanker, Shay Reuven finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE