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

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianapschedulersid3.11.3-1not affected
Debianapschedulerforky3.11.3-1not affected
Debianapschedulertrixie3.11.0-1not affected
Debianapschedulerbookworm3.9.1-2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianapschedulersourcesidNot affectedunimportantNot reportedNot reported
DebianapschedulersourceforkyNot affectedunimportantNot reportedNot reported
DebianapschedulersourcetrixieNot affectedunimportantNot reportedNot reported
DebianapschedulersourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-apscheduler]Not affected

    Source package: [apscheduler]

    Details (2)
    • 3.9.1-2 · all · bookworm

      Not affected

      nvd · apscheduler · debian · bookworm

    • 3.9.1-2 · all · bookworm

      Not affected

      nvd · apscheduler · debian · bookworm

Observed:

References