{"id":"CVE-2026-31072","aliases":["DEBIAN-CVE-2026-31072","GHSA-9cfw-f3f9-7mm7","PYSEC-2026-282","UBUNTU-CVE-2026-31072"],"summary":"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.","published_at":"2026-05-19T00:00:00Z","modified_at":"2026-10-27T16:15:05.357367Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008100000210106373,"percentile":0.5767099857330322,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"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","affected_stack":[],"affected_other":[{"ecosystem":"Debian:11","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:12","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:13","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:14","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"PyPI","package":"apscheduler","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"],"provider":"osv","source":"GHSA-9cfw-f3f9-7mm7","relation":"self"},{"ecosystem":"PyPI","package":"apscheduler","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"],"provider":"osv","source":"PYSEC-2026-282","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-2"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.4.0-1","3.4.0-2ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.3-1","3.6.1-1.1","3.6.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0-1","3.8.0-1","3.8.1-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1","3.11.1-1","3.11.2-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 12","cpe":"cpe:/o:suse:sle_hpc:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Public Cloud 12","cpe":"cpe:/o:suse:sle-module-public-cloud:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12","cpe":"cpe:/o:suse:sles:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP3","cpe":"cpe:/o:suse:sles:12:sp3","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12","cpe":"cpe:/o:suse:sles_sap:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP3","cpe":"cpe:/o:suse:sles_sap:12:sp3","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP4","cpe":"cpe:/o:suse:sles_sap:12:sp4","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-tech-preview/metrics-service-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","cpe":"cpe:/a:redhat:openstack:18.0","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8","quay/quay-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-advisor-backend-rhel9","satellite/iop-host-inventory-rhel9","satellite/iop-vmaas-rhel9","satellite/iop-vulnerability-engine-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-31072","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072","license":"CC-BY-4.0","published_at":"2026-05-19T00:00:00Z","modified_at":"2026-07-15T01:09:35.786Z","summary":"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.","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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP:CVE-2026-31072"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat-SADP:CVE-2026-31072"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/agronholm/apscheduler"},{"type":"WEB","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"}]},{"provider":"csaf-suse","source_id":"CVE-2026-31072","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-31072/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-05-21T02:29:38Z","modified_at":"2026-05-21T02:29:38Z","summary":"SUSE CVE CVE-2026-31072","details":"SUSE CVE-2026-31072\n\nThe 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","severity":[{"type":"SUSE","score":"important","source":"CVE-2026-31072"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 12","cpe":"cpe:/o:suse:sle_hpc:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Public Cloud 12","cpe":"cpe:/o:suse:sle-module-public-cloud:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12","cpe":"cpe:/o:suse:sles:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP3","cpe":"cpe:/o:suse:sles:12:sp3","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12","cpe":"cpe:/o:suse:sles_sap:12","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP3","cpe":"cpe:/o:suse:sles_sap:12:sp3","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP4","cpe":"cpe:/o:suse:sles_sap:12:sp4","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-31072"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-31072"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1265884"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-31072","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-31072","published_at":"2026-05-19T16:16:20.61Z","modified_at":"2026-06-13T02:01:38.282412Z","withdrawn_at":"2026-06-13T02:01:38.282412Z","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","severity":[],"affected":[{"ecosystem":"Debian:11","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:12","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:13","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"},{"ecosystem":"Debian:14","package":"apscheduler","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"],"provider":"osv","source":"DEBIAN-CVE-2026-31072","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-31072"}]},{"provider":"osv","source_id":"GHSA-9cfw-f3f9-7mm7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9cfw-f3f9-7mm7","license":"CC-BY-4.0","published_at":"2026-05-19T18:32:11Z","modified_at":"2026-10-27T16:15:05.357367Z","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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-9cfw-f3f9-7mm7"}],"affected":[{"ecosystem":"PyPI","package":"apscheduler","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"],"provider":"osv","source":"GHSA-9cfw-f3f9-7mm7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-31072"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907"},{"type":"WEB","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"},{"type":"PACKAGE","url":"https://github.com/agronholm/apscheduler"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apscheduler/PYSEC-2026-282.yaml"},{"type":"WEB","url":"https://pypi.org/project/apscheduler"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json"}]},{"provider":"osv","source_id":"PYSEC-2026-282","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-282","license":"CC-BY-4.0","published_at":"2026-06-29T11:50:49.946441Z","modified_at":"2026-07-01T20:22:49.421836Z","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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"PYSEC-2026-282"}],"affected":[{"ecosystem":"PyPI","package":"apscheduler","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"],"provider":"osv","source":"PYSEC-2026-282","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072"},{"type":"WEB","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"},{"type":"PACKAGE","url":"https://github.com/agronholm/apscheduler"},{"type":"PACKAGE","url":"https://pypi.org/project/apscheduler"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-31072","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-31072","license":"CC-BY-SA-4.0","published_at":"2026-05-19T16:16:00Z","modified_at":"2026-06-10T01:15:08.02314Z","withdrawn_at":"2026-06-09T23:27:30Z","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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2026-31072"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-31072"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-2"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.4.0-1","3.4.0-2ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.3-1","3.6.1-1.1","3.6.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0-1","3.8.0-1","3.8.1-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"apscheduler","purl":"pkg:deb/ubuntu/apscheduler?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0-1","3.11.1-1","3.11.2-1"],"provider":"osv","source":"UBUNTU-CVE-2026-31072","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-31072"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072"},{"type":"REPORT","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"},{"type":"REPORT","url":"https://github.com/agronholm/apscheduler"}]},{"provider":"redhat-vex","source_id":"CVE-2026-31072","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-31072","license":"CC-BY-4.0","published_at":"2026-05-19T00:00:00Z","modified_at":"2026-05-19T17:21:01.861043Z","summary":"apscheduler: APScheduler: Remote Code Execution via Insecure Deserialization","details":"A flaw was found in APScheduler, affecting its JSONSerializer and CBORSerializer components. This vulnerability, known as insecure deserialization, allows a remote attacker to execute arbitrary code on the system. By sending a specially crafted data payload, an attacker can manipulate the application to run malicious commands, potentially leading to a complete compromise of the affected system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-31072"},{"type":"Red Hat","score":"Important","source":"CVE-2026-31072"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-tech-preview/metrics-service-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","cpe":"cpe:/a:redhat:openstack:18.0","status":"not_affected","packages":["python-APScheduler"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8","quay/quay-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-advisor-backend-rhel9","satellite/iop-host-inventory-rhel9","satellite/iop-vmaas-rhel9","satellite/iop-vulnerability-engine-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-31072"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-31072"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072"},{"type":"WEB","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"},{"type":"WEB","url":"https://github.com/agronholm/apscheduler"}]}],"references":[{"type":"WEB","url":"https://github.com/agronholm/apscheduler"},{"type":"WEB","url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-31072"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1265884"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-31072"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-31072"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apscheduler/PYSEC-2026-282.yaml"},{"type":"WEB","url":"https://pypi.org/project/apscheduler"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-31072"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-31072","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072","license":"CC-BY-4.0","modified_at":"2026-07-15T01:09:35.786Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-31072","url":"https://www.suse.com/security/cve/CVE-2026-31072/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-05-21T02:29:38Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-31072","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-31072","modified_at":"2026-06-13T02:01:38.282412Z","relation":"self"},{"provider":"osv","source_id":"GHSA-9cfw-f3f9-7mm7","url":"https://osv.dev/vulnerability/GHSA-9cfw-f3f9-7mm7","license":"CC-BY-4.0","modified_at":"2026-10-27T16:15:05.357367Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-282","url":"https://osv.dev/vulnerability/PYSEC-2026-282","license":"CC-BY-4.0","modified_at":"2026-07-01T20:22:49.421836Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-31072","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-31072","license":"CC-BY-SA-4.0","modified_at":"2026-06-10T01:15:08.02314Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-31072","url":"https://access.redhat.com/security/cve/CVE-2026-31072","license":"CC-BY-4.0","modified_at":"2026-05-19T17:21:01.861043Z","relation":"self"}]}
