Remote Code Execution Vulnerability in APScheduler by Agronholm
CVE-2026-31072
9.8CRITICAL
What is CVE-2026-31072?
APScheduler contains a vulnerability in its JSONSerializer and CBORSerializer that exposes applications to Remote Code Execution due to insecure deserialization. The 'unmarshal_object' function permits the dynamic importing of modules and the invocation of setstate on any class, presenting an avenue for attackers to execute arbitrary code by sending crafted JSON or CBOR payloads. This vulnerability can compromise the integrity of applications reliant on APScheduler, making it essential for developers to review their deployment and implement proper validation mechanisms to safeguard against potential exploitation.
