PYSEC-2026-282

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/apscheduler/PYSEC-2026-282.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-282
Aliases
Published
2026-06-29T11:50:49.946441Z
Modified
2026-07-01T20:22:49.421836Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
APScheduler's JSONSerializer and CBORSerializer are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization
Details

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

References

Affected packages

PyPI / apscheduler

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0a1
Last affected
4.0.0a6

Affected versions

4.*
4.0.0a1
4.0.0a2
4.0.0a3
4.0.0a4
4.0.0a5
4.0.0a6

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/apscheduler/PYSEC-2026-282.yaml"