
CVE catalog
CVE-2026-31072
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 functi
- Severity
- Critical · CVSS 9.8
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.81% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | apscheduler | sid | 3.11.3-1 | not affected |
| Debian | apscheduler | forky | 3.11.3-1 | not affected |
| Debian | apscheduler | trixie | 3.11.0-1 | not affected |
| Debian | apscheduler | bookworm | 3.9.1-2 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | apscheduler | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | apscheduler | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | apscheduler | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | apscheduler | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-apscheduler]Not affected
Source package: [apscheduler]
Details (2)
3.9.1-2· all · bookwormNot affected
nvd · apscheduler · debian · bookworm
3.9.1-2· all · bookwormNot affected
nvd · apscheduler · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-31072]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-31072]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-31072]
- [https://security-tracker.debian.org/tracker/CVE-2026-31072]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]