Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 47%

CVE-2026-31072: n/a

0
Critical
VulnerabilityCVE-2026-31072cvecve-2026-31072
Published: 05/19/2026 (05/19/2026, 00:00:00 UTC)
Source: CVE Database V5

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

apscheduler
pkg:pypi/apscheduler
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:54:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses