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
CVE-2026-31072
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-05-19. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 52.5%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
June 30, 2026
Advisory Details (5)
Auto-updated Jun 30, 20262479907 – (CVE-2026-31072) CVE-2026-31072 apscheduler: APScheduler: Remote Code Execution via Insecure Deserialization
https://bugzilla.redhat.com/show_bug.cgi?id=2479907GitHub - agronholm/apscheduler: Task scheduling library for Python · GitHub
https://github.com/agronholm/apschedulerVendor Advisories for CVE-2026-31072(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| pip | apscheduler | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apscheduler | 4.0.0a1 ... 4.0.0a6 (6 versions) | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 157× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 305 total refreshes for this CVE.
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 20:53 UTCEG score recompute
- 2026-06-29 20:53 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 12:31 UTCEG score recompute
- 2026-06-28 12:31 UTCGHSA enrichment
- 2026-06-28 08:39 UTCEG score recompute
- 2026-06-28 08:39 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:50 UTCEG score recompute
- 2026-06-28 04:50 UTCGHSA enrichment
- 2026-06-28 00:51 UTCEG score recompute
Show 75 moreShow fewer
- 2026-06-28 00:51 UTCGHSA enrichment
- 2026-06-27 20:25 UTCEG score recompute
- 2026-06-27 20:25 UTCGHSA enrichment
- 2026-06-27 12:28 UTCEG score recompute
- 2026-06-27 12:28 UTCGHSA enrichment
- 2026-06-27 07:36 UTCEG score recompute
- 2026-06-27 07:36 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:47 UTCEG score recompute
- 2026-06-26 19:47 UTCGHSA enrichment
- 2026-06-26 03:51 UTCEG score recompute
- 2026-06-26 03:51 UTCGHSA enrichment
- 2026-06-25 20:55 UTCEG score recompute
- 2026-06-25 20:55 UTCGHSA enrichment
- 2026-06-25 17:00 UTCEG score recompute
- 2026-06-25 16:59 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 03:50 UTCEG score recompute
- 2026-06-18 03:49 UTCGHSA enrichment
- 2026-06-17 23:57 UTCEG score recompute
- 2026-06-17 23:57 UTCGHSA enrichment
- 2026-06-17 20:06 UTCEG score recompute
- 2026-06-17 20:06 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 15:36 UTCEG score recompute
- 2026-06-17 15:36 UTCGHSA enrichment
- 2026-06-17 11:45 UTCEG score recompute
- 2026-06-17 11:45 UTCGHSA enrichment
- 2026-06-17 05:00 UTCEG score recompute
- 2026-06-17 05:00 UTCGHSA enrichment
- 2026-06-17 00:42 UTCEG score recompute
- 2026-06-17 00:42 UTCGHSA enrichment
- 2026-06-16 20:52 UTCEG score recompute
- 2026-06-16 20:51 UTCGHSA enrichment
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 10:50 UTCEG score recompute
- 2026-06-16 10:50 UTCGHSA enrichment
- 2026-06-16 06:41 UTCEG score recompute
- 2026-06-16 06:41 UTCGHSA enrichment
- 2026-06-16 02:50 UTCEG score recompute
- 2026-06-16 02:50 UTCGHSA enrichment
- 2026-06-15 23:00 UTCEG score recompute
- 2026-06-15 23:00 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 16:09 UTCEG score recompute
- 2026-06-15 16:08 UTCGHSA enrichment
- 2026-06-15 05:54 UTCEG score recompute
- 2026-06-15 05:54 UTCGHSA enrichment
- 2026-06-15 02:05 UTCEG score recompute
- 2026-06-15 02:05 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 22:15 UTCEG score recompute
- 2026-06-14 22:15 UTCGHSA enrichment
- 2026-06-14 18:24 UTCEG score recompute
- 2026-06-14 18:24 UTCGHSA enrichment
- 2026-06-14 14:12 UTCEG score recompute
- 2026-06-14 14:12 UTCGHSA enrichment
- 2026-06-14 10:11 UTCEG score recompute
- 2026-06-14 10:11 UTCGHSA enrichment
- 2026-06-14 06:20 UTCEG score recompute
- 2026-06-14 06:19 UTCGHSA enrichment
- 2026-06-14 02:29 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-502
- CVE-2017-20208EG 9.8CRITICAL
- CVE-2017-20207EG 9.8CRITICAL
- CVE-2017-20206EG 9.8CRITICAL
- CVE-2017-20189EG 9.8CRITICAL
- CVE-2017-10992EG 9.8EPSS 95%CRITICAL
- CVE-2013-4521EG 9.8EPSS 90%CRITICAL
- CVE-2014-1860EG 9.8CRITICAL
- CVE-2016-1000027EG 9.8EPSS 98%CRITICAL
- CVE-2014-3699EG 9.8CRITICAL
- CVE-2017-18605EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-31072?
When was CVE-2026-31072 disclosed?
Is CVE-2026-31072 actively exploited?
What is the CVSS score of CVE-2026-31072?
How do I remediate CVE-2026-31072?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31072
Is Your Infrastructure Affected by CVE-2026-31072?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.