{"id":"CVE-2026-31072","published":"2026-05-19T00:00:00Z","modified":"2026-07-15T01:09:35Z","title":"The JSONSerializer and CBORSerializer in APScheduler (all versions including 3.10.x and 4.0.0a5) are vulnerable to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0081,"percentile":0.57801,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/agronholm/apscheduler","tags":[]},{"url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-31072","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":11.56},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-20T14:43:37.877039Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apscheduler","vulnerableRanges":[">=4.0.0a1, <=4.0.0a6"],"patched":[],"from":["GHSA-9cfw-f3f9-7mm7","PYSEC-2026-282"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-30947","exploited":false,"provenance":"source"}}