CVE-2026-31072
JSON

9.8critical

APScheduler's JSONSerializer and CBORSerializer are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.01% (higher than 62% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-9cfw-f3f9-7mm7PYSEC-2026-282

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
ansible-automation-platform-tech-preview/metrics-service-rhel9Not specifiedCVE List
python-APSchedulerNot specifiedCVE List
quay/quay-rhel8Not specifiedCVE List
quay/quay-rhel9Not specifiedCVE List
satellite/iop-advisor-backend-rhel9Not specifiedCVE List
satellite/iop-host-inventory-rhel9Not specifiedCVE List
satellite/iop-vmaas-rhel9Not specifiedCVE List
satellite/iop-vulnerability-engine-rhel9Not specifiedCVE List
apscheduler (PyPI)from 4.0.0a1 up to 4.0.0a6GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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

NVD (es)

Los JSONSerializer y CBORSerializer en APScheduler (todas las versiones, incluidas la 3.10.x y la 4.0.0a5) son vulnerables a la Ejecución Remota de Código (RCE) a través de la Deserialización Insegura. La función unmarshal_object permite la instanciación arbitraria de clases y la inyección de estado importando módulos dinámicamente y llamando a __setstate__ en cualquier clase disponible en el entorno Python. Un atacante puede explotar esto enviando una carga útil JSON o CBOR especialmente diseñada a una aplicación que utilice estos serializadores.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31072 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-9cfw-f3f9-7mm7 changed 2026-10-27CC-BY-4.0
NVDCVE-2026-31072 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-282 changed 2026-07-01CC-BY-4.0