cve.bz

CVE-2026-31072 Deserialization of Untrusted Data

9.8 criticalEPSS 0.8%

Critical (9.8). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-05-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-31072 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-31072?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-31072?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-31072 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9cfw-f3f9-7mm7PyPIapscheduler>=4.0.0a1 <=4.0.0a6no fix published
PYSEC-2026-282PyPIapscheduler>=4.0.0a1 <=4.0.0a6no fix published

Red Hat

Red Hat rates this Important.

Red Hat's statement

Despite the CVEORG report of this vulnerability, the affected deserializers are only present in 4.x versions of APScheduler. Red Hat does not ship the affected versions.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-tech-preview/metrics-service-rhel9Not affected
Red Hat OpenStack Platform 18.0python-APSchedulerNot affected
Red Hat Quay 3quay/quay-rhel8Not affected
Red Hat Quay 3quay/quay-rhel9Not affected
Red Hat Satellite 6satellite/iop-advisor-backend-rhel9Not affected
Red Hat Satellite 6satellite/iop-host-inventory-rhel9Not affected
Red Hat Satellite 6satellite/iop-vmaas-rhel9Not affected
Red Hat Satellite 6satellite/iop-vulnerability-engine-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-31072.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON