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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ansible-automation-platform-tech-preview/metrics-service-rhel9 | Not specified | CVE List |
| python-APScheduler | Not specified | CVE List |
| quay/quay-rhel8 | Not specified | CVE List |
| quay/quay-rhel9 | Not specified | CVE List |
| satellite/iop-advisor-backend-rhel9 | Not specified | CVE List |
| satellite/iop-host-inventory-rhel9 | Not specified | CVE List |
| satellite/iop-vmaas-rhel9 | Not specified | CVE List |
| satellite/iop-vulnerability-engine-rhel9 | Not specified | CVE List |
| apscheduler (PyPI) | from 4.0.0a1 up to 4.0.0a6 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31072 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9cfw-f3f9-7mm7 changed 2026-10-27 | CC-BY-4.0 |
| NVD | CVE-2026-31072 changed 2026-07-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-282 changed 2026-07-01 | CC-BY-4.0 |