CVE-2022-36126 is a code execution flaw in the ScriptInvoke function of the Inductive Automation Ignition Gateway. ScriptInvoke compiles and runs Python code supplied by the caller. It needs an authenticated session, but Source Incite chained it with the session prediction flaw CVE-2022-35890 for pre-authenticated code execution. NVD scores it 7.2, and Ignition 7.9.20 and 8.1.17 carry the fix.
Vulnerability summary
CVSS base score
7.2
High severity
EPSS score (FIRST)
2.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2022-36126 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Inductive Automation Ignition Gateway | cpe:2.3:a:inductiveautomation:ignition:*:*:*:*:*:*:*:* | before 7.9.20, and 8.0.1 up to, but excluding, 8.1.17 (NVD); fixed in 7.9.20 and 8.1.17 (Inductive Automation release notes, Source Incite) |
What does this mean for affected devices?
NVD's Primary score is CVSS v3.1 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) with CWE-863 (incorrect authorization). MITRE, the CNA, gives the same CVSS v3.1 7.2 vector. NVD's description says "The ScriptInvoke function allows remote attackers to execute arbitrary code by supplying a Python script." The record was published on 2022-07-16 (NVD, CVE record).
How does the attack work?
SRC-2022-0014 says the flaw "exists within ScriptInvoke function" and results from "the unsafe use of user supplied python script code that is compiled and executed at runtime". "Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed." Chris Anastasio (muffin) and Steven Seeley (mr_me) of Incite Team sent it to Inductive Automation on 2022-04-22, and it went public on 2022-05-12. The bypass is CVE-2022-35890: the public randy exploit predicts an admin's Gateway session ID and then calls ScriptInvoke. It was tested against Ignition 8.1.16 on Windows and needs an admin to be logged in.
Which Ignition versions are affected and fixed?
NVD's CPE configuration covers Ignition before 7.9.20 and 8.0.1 up to, but excluding, 8.1.17. The 8.1.17 release notes and 7.9.20 release notes, both released May 12, 2022, list "Fixed vulnerabilities disclosed at Pwn2Own". Upgrade, keep Gateway admin accounts few, and have admins log out when they finish, which also closes the CVE-2022-35890 path.
Other Ignition flaws that end in Python execution are CVE-2022-35871 and CVE-2022-35873. See the Ignition vulnerabilities guide and the command injection fix guide.
CVE-2022-36126 is not in the CISA KEV catalog as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS gives it 0.02676, the 86.2th percentile, in the 2026-11-23 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-24): status Modified; published 2022-07-16; NVD Primary CVSS v3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H; MITRE ([email protected]) Secondary CVSS v3.1 7.2 same vector; CWE-863; CPE cpe:2.3:a:inductiveautomation:ignition:*:*:*:*:*:*:*:* before 7.9.20, and from 8.0.1 (including) to 8.1.17 (excluding). — NVD
- SRC-2022-0014 (read 2026-11-24): ScriptInvoke function compiles and executes user-supplied Python at runtime; authentication required but bypassable; CVSS 7.2; sent to Inductive PSIRT 2022-04-22, public 2022-05-12; proof of concept sourceincite/randy; credit Chris Anastasio (muffin) and Steven Seeley (mr_me) of Incite Team; vendor has issued an update. — Source Incite
- sourceincite/randy README (read 2026-11-24): pre-authenticated RCE exploit for Ignition <= 8.1.16 chaining CVE-2022-35890 and CVE-2022-36126; requires an admin user logged into the Gateway (sessions live until explicit logout); targets Ignition on Windows (SecureRandom seed prediction); tested on 8.1.16 with Java 11.0.11; failed at Pwn2Own Miami 2022. — Source Incite (GitHub)
- Ignition 8.1.17 and 7.9.20 release notes (both released May 12, 2022, read 2026-11-24): "Fixed vulnerabilities disclosed at Pwn2Own"; no CVE ids named. — Inductive Automation
- CVE record (checked 2026-11-24): state PUBLISHED, CNA MITRE, published 2022-07-16, CNA CVSS v3.1 7.2. — CVE.org
- Not in the CISA KEV catalog, catalog version 2026.11.23, 1,792 entries, checked 2026-11-24; the catalog has no Inductive Automation entry. — CISA KEV
- EPSS 0.02676, percentile 0.86164, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Ignition version fixes CVE-2022-36126?
NVD lists Ignition before 7.9.20 and 8.0.1 up to, but excluding, 8.1.17 as affected. Inductive Automation's 7.9.20 and 8.1.17 release notes, both dated May 12, 2022, list the Pwn2Own fixes, and Source Incite confirms the vendor issued an update.
Does CVE-2022-36126 need admin access?
Its CVSS vector needs high privileges, and Source Incite says authentication is required. The randy exploit gets around that by predicting a logged-in admin's session ID through CVE-2022-35890, so together the two give pre-authenticated code execution.
Is there public exploit code for CVE-2022-36126?
Yes. Source Incite published the randy proof of concept on GitHub. It was tested against Ignition 8.1.16 on Windows with Java 11.0.11 and needs an admin user to be logged into the Gateway.
Is CVE-2022-36126 in the CISA KEV catalog?
No, not as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS rates it 0.02676, the 86.2th percentile, in the 2026-11-23 dataset.
Questions about this page?