{"id":"DEBIAN-CVE-2026-31072","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","modified":"2026-06-13T02:01:38.282412700Z","published":"2026-05-19T16:16:20.610Z","withdrawn":"2026-06-13T02:01:38.282412456Z","upstream":["CVE-2026-31072"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-31072"}],"affected":[{"package":{"name":"apscheduler","ecosystem":"Debian:11","purl":"pkg:deb/debian/apscheduler?arch=source&distro=bullseye"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.4-1","3.10.4-2","3.11.0-1","3.11.1-1","3.11.2-1","3.7.0-1","3.8.0-1","3.8.1-1","3.9.1-1","3.9.1-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31072.json"}},{"package":{"name":"apscheduler","ecosystem":"Debian:12","purl":"pkg:deb/debian/apscheduler?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.4-1","3.10.4-2","3.11.0-1","3.11.1-1","3.11.2-1","3.9.1-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31072.json"}},{"package":{"name":"apscheduler","ecosystem":"Debian:13","purl":"pkg:deb/debian/apscheduler?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1","3.11.1-1","3.11.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31072.json"}},{"package":{"name":"apscheduler","ecosystem":"Debian:14","purl":"pkg:deb/debian/apscheduler?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1","3.11.1-1","3.11.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31072.json"}}],"schema_version":"1.7.5"}