The JSONSerializer and CBORSerializer in APScheduler (all versions including 3.10.x and…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | apscheduler (PyPI) | 4.0.0a1 – 4.0.0a6 | — | No fix listed | GHSA-9cfw-f3f9-7mm7 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- apscheduler (PyPI) Vendor— Affected 4.0.0a1 – 4.0.0a6 Fixed in — No fix listed GHSA-9cfw-f3f9-7mm7
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Ansible Automation Platform 2
- Red Hat OpenStack Platform 18.0
- Red Hat Quay 3
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31072
- 2026-10-03 Alias added: GHSA-9cfw-f3f9-7mm7
References
Other 7
- https://github.com/agronholm/apscheduler
- https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6
- https://access.redhat.com/security/cve/CVE-2026-31072
- https://bugzilla.redhat.com/show_bug.cgi?id=2479907
- https://github.com/pypa/advisory-database/tree/main/vulns/apscheduler/PYSEC-2026-282.yaml
- https://pypi.org/project/apscheduler
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json
Sources
- CVE-2026-31072 · CVE Program
- CVE-2026-31072 · NVD
- FIRST EPSS
- GHSA-9cfw-f3f9-7mm7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-31072 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences