CVE-2026-31072
published critical CVSS 3.1 · 9.8apscheduler: APScheduler: Remote Code Execution via Insecure Deserialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Red Hat | — | ansible-automation-platform-tech-preview/metrics-service-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | python-APSchedulerRed Hat OpenStack Platform 18.0 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quay/quay-rhel9Red Hat Quay 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | satellite/iop-advisor-backend-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | satellite/iop-host-inventory-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | satellite/iop-vmaas-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | satellite/iop-vulnerability-engine-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
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
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 18.0 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- n/a
- CWE-502 Deserialization of Untrusted Data
- CWE-502 CWE-502 Deserialization of Untrusted Data
References
5- https://access.redhat.com/security/cve/CVE-2026-31072
- RHBZ#2479907 https://bugzilla.redhat.com/show_bug.cgi?id=2479907
- https://gist.github.com/nedlir/11fb77f35a59cbba73392a086b02a9c6
- https://github.com/agronholm/apscheduler
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31072.json
Provider assertions
3mitre · cna
redhat-SADP · adp
apscheduler: APScheduler: Remote Code Execution via Insecure Deserialization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c36ad46bbd6e14ed427584734eb25908f7e497bc9c410bf06bcc41474efbc61a
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record