CVE-2026-31072CRITICAL 9.8EPSS p49.3%

CVE-2026-31072CVE-2026-31072

Description

The JSONSerializer and CBORSerializer in APScheduler (all versions including 3.10.x and 4.0.0a5) are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization. The unmarshal_object function allows for arbitrary class instantiation and state injection by dynamically importing modules and calling __setstate__ on any class available in the Python environment. An attacker can exploit this by submitting a specially crafted JSON or CBOR payload to an application using these serializers

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.73% probability of exploitation · percentile 49.3% · 2026-06-18T12:00:27Z
Published2026-05-19
Last modified2026-05-20

Underlying weaknesses· 1

CWE-502

References

  1. https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6
  2. https://github.com/agronholm/apscheduler
  3. https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6

1

TypeTargetConfidenceTier
WeaknessDeserialization of Untrusted Datacwe-5020%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-45360
CVE
CVE-2026-27206
CVE
CVE-2026-11815
CVE
CVE-2026-31048
CVE
CVE-2025-53772
CVE
CVE-2026-26210
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.