Security Advisory

CVE-2022-1161: Rockwell Logix Hidden Code Change

Last updated:
  • CVE-2022-1161

CVE-2022-1161 is a flaw in Rockwell Automation Logix controllers where Studio 5000 Logix Designer stores the readable program code separately from the compiled code the controller runs, so an attacker who can modify the program can change one without the other. It affects all versions of 17 controller families. NVD scores it 9.8; CISA scores it 10.0. ICSA-22-090-05 lists no firmware fix; recompile, download and put the mode switch in Run.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

5.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-1161 · Source: NVD

Affected components

ComponentCPEVersion range
Rockwell Automation ControlLogix 5550, 5560, 5570 and 5580 controllerscpe:2.3:o:rockwellautomation:controllogix_5580_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed
Rockwell Automation GuardLogix 5560, 5570 and 5580 controllerscpe:2.3:o:rockwellautomation:guardlogix_5580_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed
Rockwell Automation 1768 and 1769 CompactLogix controllers (NVD: 1768-L43, 1768-L45, 1769-L31, 1769-L32C, 1769-L32E, 1769-L35CR, 1769-L35E)cpe:2.3:o:rockwellautomation:compactlogix_1769-l35e_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed
Rockwell Automation CompactLogix 5370 (L1, L2, L3), 5380 and 5480 controllerscpe:2.3:o:rockwellautomation:compactlogix_5380_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed
Rockwell Automation Compact GuardLogix 5370 and 5380 controllerscpe:2.3:o:rockwellautomation:compact_guardlogix_5380_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed
Rockwell Automation FlexLogix 1794-L34, DriveLogix 5730 and SoftLogix 5800 controllerscpe:2.3:o:rockwellautomation:softlogix_5800_firmware:*:*:*:*:*:*:*:*All versions (CISA ICSA-22-090-05); no fixed firmware listed

What does this mean for affected devices?

CVE-2022-1161 is a program integrity flaw in Rockwell Automation Logix controllers. CISA, the CNA, classes it CWE-829 (inclusion of functionality from untrusted control sphere) and describes it this way: "An attacker with the ability to modify a user program may change user program code on some ControlLogix, CompactLogix, and GuardLogix Control systems. Studio 5000 Logix Designer writes user-readable program code to a separate location than the executed compiled code, allowing an attacker to change one and not the other." NVD's Primary score is 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and NVD lists no CWE of its own. CISA scores it 10.0, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; the only difference is the changed scope. NVD published the record on 2022-04-11 (NVD, CVE record).

What does the flaw let an attacker do?

A Logix controller holds two forms of the same program: the compiled code it executes and a user-readable copy that Logix Designer shows when an engineer uploads the project. Because the two are stored separately, someone who can change the program can change one without the other. CISA's risk evaluation in ICSA-22-090-05 says exploitation "may allow an attacker to modify user programs" and that "a user could then unknowingly download those modified elements containing malicious code." In plant terms, an upload from the controller can show logic that differs from the logic actually running, so a review of the uploaded project does not prove what the controller executes. The precondition in the description is the ability to modify a user program; CISA's vector rates the attack as network-based, needing no privileges and no user interaction. CISA credits Sharon Brizinov and Tal Keren of Claroty with the report.

Which controllers are affected?

The CISA CSAF file for ICSA-22-090-05, released 2022-03-31, lists all versions of 17 Rockwell Automation controller families:

  • ControlLogix 5550, 5560, 5570 and 5580
  • GuardLogix 5560, 5570 and 5580
  • 1768 CompactLogix and 1769 CompactLogix
  • CompactLogix 5370, 5380 and 5480
  • Compact GuardLogix 5370 and 5380
  • FlexLogix 1794-L34, DriveLogix 5730 and SoftLogix 5800

NVD's CPE configuration expands the 1768, 1769 and 5370 families into individual catalog numbers (for example compactlogix_1769-l35e_firmware and compactlogix_5370_l1_firmware) with no version limit. The advisory names no firmware revision that removes the flaw.

How do you fix CVE-2022-1161?

There is no fixed firmware in ICSA-22-090-05; the remedy is procedural. For every affected family CISA lists the same first steps: "Recompile and download user program code (i.e., acd)" from your own project, then "Put controller mode switch into Run position." If keeping the switch in Run is impractical, recompile and download, then watch for changes with the Controller Log, Change Detection in Logix Designer and, where available, FactoryTalk AssetCentre. For ControlLogix 5560, 5570 and 5580, GuardLogix 5570 and 5580, and CompactLogix 5380 and Compact GuardLogix 5380, CISA adds CIP Security as Risk Mitigation B: on the on-board EtherNet/IP port of 5580 and 5380 controllers, or through a 1756-EN4TR module, and it tells users of a 1756-EN2T to replace it with a 1756-EN4TR. The 1768, 1769, CompactLogix 5370 and 5480 families get only the recompile, Run switch and monitoring steps. Our Rockwell Logix controller vulnerabilities guide puts these steps in order across the Logix advisories. The Run-switch advice also covers the verification key bypass CVE-2021-22681, which reaches the same controllers, and the EtherNet/IP module flaw CVE-2023-3595 needs module firmware on the same chassis. For a smaller Rockwell PLC, see CVE-2021-22659 in the MicroLogix 1400.

Is CVE-2022-1161 exploited?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). The CSAF file states that "no known public exploits specifically target this vulnerability." CISA's SSVC entry, dated 2025-04-16, records exploitation as "none", automatable as "yes" and technical impact as "total". FIRST EPSS gives it 0.052, the 92.7th percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: description as in the CVE record; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; ICS-CERT secondary 10.0 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; weakness CWE-829 from ics-cert only; 24 Rockwell controller firmware CPEs with no version limit; published 2022-04-11T20:15:18.017. — NVD
  • CVE.org: CNA icscert, published 2022-04-11, title ICSA-22-090-05 Rockwell Automation Logix Controllers; CVSS 3.1 10.0; CWE-829; 17 products all versions; credit Sharon Brizinov and Tal Keren of Claroty; CISA ADP SSVC (2025-04-16) exploitation none, automatable yes, technical impact total. — CVE.org
  • CISA CSAF ICSA-22-090-05 (released 2022-03-31): 17 controller families, vers:all; risk evaluation: attacker may modify user programs, user could unknowingly download modified elements containing malicious code; Risk Mitigation A (recompile and download, mode switch in Run, else Controller Log, Change Detection, FactoryTalk AssetCentre); Risk Mitigation B CIP Security on 5580/5380 on-board ports or 1756-EN4TR, replace 1756-EN2T with 1756-EN4TR; 1768/1769/5370/5480 get Mitigation A steps only; no known public exploits. — CISA
  • CISA ICSA-22-090-05 web advisory: release date 2022-03-31, CVSS v3 10.0, CWE-829, same product list and mitigations. — CISA
  • Not in CISA KEV catalog version 2026.11.18 (1,786 entries); EPSS 0.05213, percentile 0.92661, dataset 2026-11-18. — CISA KEV / FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICS advisory ICSA-22-090-05: Rockwell Automation Logix Controllers
  3. CISA CSAF: ICSA-22-090-05
  4. CVE.org record CVE-2022-1161 (CNA: CISA ICS)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Why do NVD and CISA give CVE-2022-1161 different scores?

Both use the same network, no-privilege, no-interaction vector with high confidentiality, integrity and availability impact. CISA marks the scope as changed and arrives at 10.0; NVD marks it unchanged and arrives at 9.8. NVD lists no CWE of its own; CISA classes it CWE-829 (per NVD, the CVE.org record and CISA ICSA-22-090-05).

Which Rockwell controllers does CVE-2022-1161 affect?

All versions of ControlLogix 5550, 5560, 5570 and 5580; GuardLogix 5560, 5570 and 5580; 1768 and 1769 CompactLogix; CompactLogix 5370, 5380 and 5480; Compact GuardLogix 5370 and 5380; FlexLogix 1794-L34; DriveLogix 5730; and SoftLogix 5800, 17 families in all (per CISA ICSA-22-090-05 and the CVE.org record).

Is there a firmware update that fixes CVE-2022-1161?

ICSA-22-090-05 lists no fixed firmware revision and marks every family as affected in all versions. The remedy is to recompile and download the user program from your own project, put the controller mode switch in Run, monitor the Controller Log and Change Detection, and use CIP Security where the controller or a 1756-EN4TR module supports it (per CISA ICSA-22-090-05 and its CSAF file).

Can I trust a project uploaded from an affected controller?

Not as proof of what runs. The flaw is that the user-readable code and the executed compiled code are stored apart, so one can be changed and not the other; CISA's mitigation is to recompile and download the program from a known copy rather than rely on the uploaded one (per the CVE.org record and CISA ICSA-22-090-05).

Is CVE-2022-1161 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18), CISA reported no known public exploits, and CISA's SSVC entry records exploitation as none. FIRST EPSS gives it 0.052, the 92.7th percentile, in the 2026-11-18 dataset (per CISA KEV, CISA ICSA-22-090-05, CVE.org and FIRST EPSS).