{"schema":"threatline.record/2","record":{"id":"CVE-2026-31072","aliases":["GHSA-9cfw-f3f9-7mm7","PYSEC-2026-282"],"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","categories":["Libraries & packages"],"product":"apscheduler","vendor":"n/a","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7","source_modified_at":"2026-10-27T15:58:30Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"pip","name":"apscheduler"},"range":">= 4.0.0a1, <= 4.0.0a6"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-31072","source_modified_at":"2026-07-15T01:09:35.786Z","fetched_at":"2026-10-27T16:27:21.584480Z","product":"n/a","vendor":"n/a","versions":[{"version":"n/a","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-9cfw-f3f9-7mm7","source_modified_at":"2026-10-27T16:15:05.357367646Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"apscheduler","ecosystem":"PyPI","purl":"pkg:pypi/apscheduler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0a1"},{"last_affected":"4.0.0a6"}]}],"versions":["4.0.0a1","4.0.0a2","4.0.0a3","4.0.0a4","4.0.0a5","4.0.0a6"]}],"fixed_versions":[],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.0081,"percentile":0.56705,"score_date":"2026-10-27"},"published_at":"2026-05-19T00:00:00.000Z","modified_at":"2026-10-27T16:15:05.357367646Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T15:58:30Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-07-15T01:09:35.786Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-9cfw-f3f9-7mm7","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T16:15:05.357367646Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31072","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6","tags":["exploit"]},{"source":"CVE List","url":"https://access.redhat.com/security/cve/CVE-2026-31072","tags":["vdb-entry","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apscheduler/PYSEC-2026-282.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/apscheduler","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json","tags":["x_sadp-csaf-vex"]},{"url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/agronholm/apscheduler"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2026-05-20T14:43:37.877039Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T16:15:05.357367646Z","content_hash":"7a9dc5460b97476a1d9f84029cf3723d4e0681659ccae6825eecad9a74a4487b"}}
