Vulnary
← back to the feed
Critical· 9.8

CVE-2026-31072

APScheduler’s JSONSerializer and CBORSerializer can run arbitrary code when they deserialize data that an attacker controls. By sending a specially crafted JSON or CBOR payload, a remote attacker can execute any code on the server. This flaw exists in all released versions up to 4.0.0a5.

publishedMay 19, 2026
last modifiedJul 24, 2026
sourcesNVD
severity · cvss
9.8
critical · how bad it is
exploitation · epss
<1%
53th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Sep 7, 2026

No official fix yet. If none appears within 45 days of first tracking, this entry is removed automatically.

01

Who is affected

APScheduler library, all released versions including 3.10.x and 4.0.0a5, used in Python applications that deserialize untrusted data.

02

Real-world impact

An attacker who can supply a crafted payload to an application that uses these serializers can run arbitrary code on the host, potentially taking full control of the system.

03

Why this severity

The CVSS score of 9.8 reflects that the vulnerability allows remote code execution without authentication or user interaction, giving the attacker complete control over confidentiality, integrity, and availability.

04

What to do about it

no official fix yet
interim mitigations
  • Avoid deserializing data from untrusted sources with APScheduler’s JSONSerializer or CBORSerializer.
  • If possible, replace these serializers with a safer deserialization method or upgrade to a future version that addresses the issue.

No official fix or mitigation is documented in the sources yet. Monitor the vendor advisory and apply the patch as soon as it is released.

No fix documented in sources

05

Timeline

  1. May 19, 2026 · May 19, 2026
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 24, 2026 · 12d ago
    Advisory updated
    The NVD record was last revised.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →