Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-47952 EUVD-2021-34842GHSA-gv3j-fjgf-469v

python jsonpickle 2.0.0 Remote Code Execution via py/repr

Published May 16, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Jsonpickle python jsonpickle 2.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 jsonpickle No fix yet —
Ubuntu 25.10 jsonpickle No fix yet —
Ubuntu 24.04 LTS jsonpickle No fix yet —
Ubuntu 22.04 LTS jsonpickle No fix yet —
Ubuntu 20.04 LTS jsonpickle No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS jsonpickle No fix yet —
Ubuntu 16.04 LTS jsonpickle No fix yet —

References