{"cve":"CVE-2026-31072","nvd":{"published":"2026-05-19T16:16:20.610","modified":"2026-07-24T12:10:00.210","status":"Deferred","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-502"],"references":["https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6","https://github.com/agronholm/apscheduler","https://access.redhat.com/security/cve/CVE-2026-31072","https://bugzilla.redhat.com/show_bug.cgi?id=2479907","https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-31072","score":0.0081,"percentile":0.56917,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9cfw-f3f9-7mm7","url":"https://osv.dev/vulnerability/GHSA-9cfw-f3f9-7mm7","summary":"APScheduler's JSONSerializer and CBORSerializer are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization","modified":"2026-10-27T16:15:05.357367646Z","packages":[{"ecosystem":"PyPI","name":"apscheduler","purl":"pkg:pypi/apscheduler","ranges":[">=4.0.0a1 <=4.0.0a6"],"fixed":[]}]},{"id":"PYSEC-2026-282","url":"https://osv.dev/vulnerability/PYSEC-2026-282","summary":"APScheduler's JSONSerializer and CBORSerializer are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization","modified":"2026-07-01T20:22:49.421836Z","packages":[{"ecosystem":"PyPI","name":"apscheduler","purl":"pkg:pypi/apscheduler","ranges":[">=4.0.0a1 <=4.0.0a6"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}