CVE-2026-31072
Last modified
CVE-2026-31072 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-31072?
How severe is CVE-2026-31072?
How do I fix CVE-2026-31072?
Are you affected by CVE-2026-31072?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
