CVE-2026-31072: n/a
CVE-2026-31072 is a remote code execution vulnerability in the JSONSerializer and CBORSerializer components of APScheduler, affecting all versions including 3. 10. x and 4. 0. 0a5. The vulnerability arises from insecure deserialization in the unmarshal_object function, which allows arbitrary class instantiation and state injection by dynamically importing modules and invoking __setstate__ on any Python class available in the environment. An attacker can exploit this by submitting specially crafted JSON or CBOR payloads to an application using these serializers. No official patch or remediation guidance is currently available, and no known exploits in the wild have been reported. The severity is assessed as high due to the potential for remote code execution.
AI Analysis
Technical Summary
The APScheduler library's JSONSerializer and CBORSerializer are vulnerable to remote code execution via insecure deserialization. The unmarshal_object function permits dynamic module imports and calls to __setstate__, enabling attackers to instantiate arbitrary classes and inject malicious state. This flaw affects all versions including 3.10.x and 4.0.0a5. Exploitation requires an attacker to submit crafted JSON or CBOR payloads to an application using these serializers. No CVSS score or official remediation is currently published, and no known exploits have been observed.
Potential Impact
Successful exploitation allows remote code execution on the affected system by leveraging insecure deserialization to instantiate arbitrary classes and inject malicious state. This can lead to full compromise of the application environment where APScheduler is used. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid deserializing untrusted JSON or CBOR data with APScheduler's JSONSerializer or CBORSerializer. Consider implementing input validation or using alternative safe serialization methods.
CVE-2026-31072: n/a
Description
CVE-2026-31072 is a remote code execution vulnerability in the JSONSerializer and CBORSerializer components of APScheduler, affecting all versions including 3. 10. x and 4. 0. 0a5. The vulnerability arises from insecure deserialization in the unmarshal_object function, which allows arbitrary class instantiation and state injection by dynamically importing modules and invoking __setstate__ on any Python class available in the environment. An attacker can exploit this by submitting specially crafted JSON or CBOR payloads to an application using these serializers. No official patch or remediation guidance is currently available, and no known exploits in the wild have been reported. The severity is assessed as high due to the potential for remote code execution.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The APScheduler library's JSONSerializer and CBORSerializer are vulnerable to remote code execution via insecure deserialization. The unmarshal_object function permits dynamic module imports and calls to __setstate__, enabling attackers to instantiate arbitrary classes and inject malicious state. This flaw affects all versions including 3.10.x and 4.0.0a5. Exploitation requires an attacker to submit crafted JSON or CBOR payloads to an application using these serializers. No CVSS score or official remediation is currently published, and no known exploits have been observed.
Potential Impact
Successful exploitation allows remote code execution on the affected system by leveraging insecure deserialization to instantiate arbitrary classes and inject malicious state. This can lead to full compromise of the application environment where APScheduler is used. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid deserializing untrusted JSON or CBOR data with APScheduler's JSONSerializer or CBORSerializer. Consider implementing input validation or using alternative safe serialization methods.
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
Threat ID: 6a0c870dec166c07b0be1590
Added to database: 5/19/2026, 3:51:41 PM
Last enriched: 5/19/2026, 4:06:54 PM
Last updated: 5/19/2026, 4:56:05 PM
Views: 3
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.