{"id":"CVE-2026-31072","aliases":["CVE-2026-31072","GHSA-9cfw-f3f9-7mm7","PYSEC-2026-282"],"related":[],"kind":"vulnerability","state":"published","title":"APScheduler's JSONSerializer and CBORSerializer are vulnerable to Remote Code Execution (RCE) via Insecure Deserialization","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. 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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Los JSONSerializer y CBORSerializer en APScheduler (todas las versiones, incluidas la 3.10.x y la 4.0.0a5) son vulnerables a la Ejecución Remota de Código (RCE) a través de la Deserialización Insegura. La función unmarshal_object permite la instanciación arbitraria de clases y la inyección de estado importando módulos dinámicamente y llamando a __setstate__ en cualquier clase disponible en el entorno Python. Un atacante puede explotar esto enviando una carga útil JSON o CBOR especialmente diseñada a una aplicación que utilice estos serializadores.","source":"nvd"}],"published":"2026-05-19T00:00:00.000Z","modified":"2026-10-27T16:15:05.357Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS: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,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-tech-preview/metrics-service-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","package":"python-APScheduler","cpe":"cpe:/a:redhat:openstack:18.0","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Quay 3","package":"quay/quay-rhel8","cpe":"cpe:/a:redhat:quay:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Quay 3","package":"quay/quay-rhel9","cpe":"cpe:/a:redhat:quay:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite/iop-advisor-backend-rhel9","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite/iop-host-inventory-rhel9","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite/iop-vmaas-rhel9","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite/iop-vulnerability-engine-rhel9","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0a1","status":"affected","lastAffected":"4.0.0a6"}],"ecosystem":"PyPI","package":"apscheduler","purl":"pkg:pypi/apscheduler","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0a1","status":"affected","lastAffected":"4.0.0a6"}],"ecosystem":"PyPI","package":"apscheduler","purl":"pkg:pypi/apscheduler","source":"pysec"}],"references":[{"url":"https://github.com/agronholm/apscheduler","tags":["package"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-31072","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479907","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apscheduler/PYSEC-2026-282.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/apscheduler","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-05-20T14:43:37.877Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31072","url":"https://www.cve.org/CVERecord?id=CVE-2026-31072","licence":"CVE Terms of Use","modified":"2026-07-15T01:09:35.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9cfw-f3f9-7mm7","url":"https://github.com/advisories/GHSA-9cfw-f3f9-7mm7","licence":"CC-BY-4.0","modified":"2026-10-27T16:15:05.357Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31072","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31072","licence":"Public domain","modified":"2026-07-24T12:10:00.210Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-282","url":"https://osv.dev/vulnerability/PYSEC-2026-282","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:49.421Z"}],"updatedAt":"2026-11-25T22:59:21.986Z","epss":{"score":0.01007,"percentile":0.62079,"date":"2026-11-30T12:00:22.000Z"}}