CVE-2026-31072 The advisory has been revoked - it doesn't affect any version of package apscheduler  (opens in a new tab)


Threat Intelligence

EPSS
0.81% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-APSCHEDULER-16780508
  • published21 May 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

CVE-2026-31072  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:12.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apscheduler package and not the apscheduler package as distributed by Debian.

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