CVE-2026-31072: n/a
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
AI Analysis
Technical Summary
CVE-2026-31072 affects APScheduler's JSONSerializer and CBORSerializer components across all versions, including 3.10.x and 4.0.0a5. The vulnerability is an insecure deserialization flaw (CWE-502) in the unmarshal_object function, which permits an attacker to instantiate arbitrary classes and inject state by dynamically importing modules and calling __setstate__. This enables remote code execution when maliciously crafted JSON or CBOR payloads are processed by the vulnerable serializers. The CVSS score is 9.8 (critical), reflecting network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. No official patch or remediation level is stated in the vendor advisory, and no known exploits in the wild have been reported. The Red Hat advisory is available but does not specify a fix status.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the affected system without authentication or user interaction. This can lead to full system compromise, including unauthorized access, data manipulation, and service disruption. The vulnerability affects all versions of APScheduler's JSONSerializer and CBORSerializer, making any application using these components potentially vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-31072 for current remediation guidance. Until an official fix is available, avoid using the vulnerable serializers with untrusted input. Consider disabling or restricting deserialization of untrusted data or applying application-level input validation to mitigate risk.
CVE-2026-31072: n/a
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
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-31072 affects APScheduler's JSONSerializer and CBORSerializer components across all versions, including 3.10.x and 4.0.0a5. The vulnerability is an insecure deserialization flaw (CWE-502) in the unmarshal_object function, which permits an attacker to instantiate arbitrary classes and inject state by dynamically importing modules and calling __setstate__. This enables remote code execution when maliciously crafted JSON or CBOR payloads are processed by the vulnerable serializers. The CVSS score is 9.8 (critical), reflecting network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. No official patch or remediation level is stated in the vendor advisory, and no known exploits in the wild have been reported. The Red Hat advisory is available but does not specify a fix status.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the affected system without authentication or user interaction. This can lead to full system compromise, including unauthorized access, data manipulation, and service disruption. The vulnerability affects all versions of APScheduler's JSONSerializer and CBORSerializer, making any application using these components potentially vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-31072 for current remediation guidance. Until an official fix is available, avoid using the vulnerable serializers with untrusted input. Consider disabling or restricting deserialization of untrusted data or applying application-level input validation to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-31072","vendor":"Red Hat"}]
Threat ID: 6a0c870dec166c07b0be1590
Added to database: 05/19/2026, 15:51:41 UTC
Last enriched: 07/15/2026, 08:54:02 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 101
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.