pypi package report

Is apscheduler safe?

1 known vulnerability, worst severity CRITICAL.

// reach

21 direct dependencies

10 carry known advisories, worst CRITICAL

66 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
9.8
critical

CVSS v3.1 base score out of 10

epss
0.81%
medium

chance of exploitation in 30 days, 57th percentile of all CVEs

xyz score
5.2
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-9cfw-f3f9-7mm7, the advisory selected below

// 1 advisories

GHSA-9cfw-f3f9-7mm7

CRITICALGitHub ratingCVE-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 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

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Checked 2026-11-06 at 21:46 UTC. The most recent advisory here was published 2026-05-19. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.