CVE-2026-31072
APScheduler’s JSONSerializer and CBORSerializer can run arbitrary code when they deserialize data that an attacker controls. By sending a specially crafted JSON or CBOR payload, a remote attacker can execute any code on the server. This flaw exists in all released versions up to 4.0.0a5.
No official fix yet. If none appears within 45 days of first tracking, this entry is removed automatically.
Who is affected
APScheduler library, all released versions including 3.10.x and 4.0.0a5, used in Python applications that deserialize untrusted data.
Real-world impact
An attacker who can supply a crafted payload to an application that uses these serializers can run arbitrary code on the host, potentially taking full control of the system.
Why this severity
The CVSS score of 9.8 reflects that the vulnerability allows remote code execution without authentication or user interaction, giving the attacker complete control over confidentiality, integrity, and availability.
What to do about it
- ›Avoid deserializing data from untrusted sources with APScheduler’s JSONSerializer or CBORSerializer.
- ›If possible, replace these serializers with a safer deserialization method or upgrade to a future version that addresses the issue.
No official fix or mitigation is documented in the sources yet. Monitor the vendor advisory and apply the patch as soon as it is released.
No fix documented in sources
Timeline
- May 19, 2026 · May 19, 2026PublishedDisclosed and added to the National Vulnerability Database.
- Jul 24, 2026 · 12d agoAdvisory updatedThe NVD record was last revised.