Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-22681: Authentication Bypass in Rockwell Automation Logix Controllers

Published Mar 3, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS63.6%99th percentile
CISA KEVYesAdded Mar 5, 2026
In the wildActivePer CISA KEV
Vendor
Rockwell Automation
IdentifiersCVE-2021-22681CWE-522 · Insufficiently Protected Credentials

CVE-2021-22681 is an authentication-bypass vulnerability in the communications trust mechanism used by Rockwell Automation Studio 5000 Logix Designer version 21 and later, RSLogix 5000 versions 16–20, and affected Logix controllers. An insufficiently protected, hardcoded cryptographic verification key can be discovered or extracted and used to impersonate legitimate engineering software. A remote, unauthenticated attacker can bypass verification and establish trusted connections to affected controllers or PLC emulators. Affected controller families include CompactLogix, ControlLogix, DriveLogix, Compact GuardLogix, GuardLogix, and SoftLogix. Unauthorized applications can subsequently modify controller configuration or application code.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation defeats the engineering-software verification boundary, allowing unauthorized connections and changes to controller configuration and application code. Such changes can alter PLC-controlled industrial processes and potentially cause operational or physical disruption. Active exploitation was confirmed in 2026, and the vulnerability was added to CISA's Known Exploited Vulnerabilities catalog on March 5, 2026. Its exploitation has not been confirmed for the Minnesota water-utility incidents, and it does not affect the MicroLogix controllers identified in the related FBI/EPA advisory.

Mitigation

If you can’t patch tonight, do this now.

Remove affected controllers from direct public-internet exposure. Restrict TCP port 44818 and other engineering access to authorized systems, segment OT from IT and untrusted networks, and enforce strict intersegment access controls. Mediate necessary remote access through secured gateways, jump hosts, or VPNs with MFA. Deploy CIP Security where supported, or an applicable CIP Security Proxy. Place controllers with physical mode switches in RUN mode to prevent remote modification, restricting programming mode to authorized maintenance. Monitor engineering connections, program changes, and operating-mode changes, compare controller logic against known-good baselines, and retain offline backups.

Remediation

Patch, then assume compromise.

No complete software patch is available; the authentication-design weakness requires compensating, defense-in-depth controls. Follow Rockwell Automation's PN1550 guidance for CVE-2021-22681 and applicable controller-specific security guidance. Patches released for other Rockwell vulnerabilities should not be treated as resolving this issue.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
cip-security-pocThis repository is a small Python proof-of-concept suite, not a weaponized exploit kit. It contains 11 files total: 4 runnable Python scripts, 4 substantive Markdown documents, a requirements file, and licensing/notice files. The code focuses on modeling the security failure behind CVE-2021-22681 and demonstrating a mitigation principle using open tooling rather than vendor hardware. Repository structure and purpose: - `test1_baseline_vulnerable.py`: launches a local `cpppo` EtherNet/IP PLC simulator on `127.0.0.1:44818` and performs anonymous read/write operations against the tag `PumpSpeed_RPM`. Main capability: demonstrates unauthenticated network access and control-tag modification over EtherNet/IP default behavior. - `test2_shared_secret_fails.py`: creates two local TCP services on `127.0.0.1:50001` and `127.0.0.1:50002`, both protected by the same hardcoded key `ROCKWELL-STUDIO5000-UNIVERSAL-KEY-2019`. Main capability: demonstrates the architectural weakness of a fleet-wide shared secret, where a credential valid for one device is valid for another. - `test3_mutual_tls_fix.py`: generates a temporary CA and per-device certificates, then starts three local TLS endpoints on ports 60443/60444/60445. It compares a strict endpoint that enforces SAN-based identity binding against a naive endpoint that only checks CA validity, and also tests reverse-direction server identity validation. Main capability: demonstrates that mutual TLS with per-device identity binding prevents cross-device credential reuse, while CA-validity-only checks do not. - `test4_revocation.py`: generates a CA, endpoint cert, client cert, and CRL, then runs a TLS endpoint on `127.0.0.1:60446` that re-reads the current CRL and denies revoked credentials. Main capability: demonstrates revocation as a necessary lifecycle control beyond uniqueness. The Markdown files (`README.md`, `PHASED_ROLLOUT.md`, `62443-4-2_SL2_MAPPING.md`) provide context, mitigation guidance, and standards mapping. They make clear this is a principle-level PoC for ICS/OT security around Rockwell Logix/CIP Security concepts and CVE-2021-22681, not a verified exploit against real Rockwell hardware. Overall exploit capability assessment: - The repository does contain exploit-like behavior in Test 1 because it performs unauthorized tag modification over a real protocol simulator. - Test 2 is a structural demonstration of credential reuse across devices. - Tests 3 and 4 are mitigation/validation PoCs rather than offensive exploitation. - All network activity is local-only (`127.0.0.1`) and self-contained; there are no external C2s, downloaders, persistence mechanisms, or destructive payloads. In short, this is a credible PoC repository centered on CVE-2021-22681 and related ICS authentication weaknesses. It demonstrates both the vulnerable pattern and a proposed cryptographic remediation model, with the strongest offensive behavior being local simulation of unauthenticated EtherNet/IP tag writes.pcrosby-1990 · Disclosed Jul 31, 2026 · python · markdown · network · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Rockwell AutomationFactorytalk Services Platformapplication
Rockwell AutomationRslogix 5000application
Rockwell AutomationStudio 5000 Logix Designerapplication
FAQ

Frequently asked questions

Is CVE-2021-22681 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 5, 2026.
Is there a public exploit for CVE-2021-22681?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-22681, the earliest disclosed Jul 31, 2026.
Is there a patch for CVE-2021-22681?
No complete software patch is available; the authentication-design weakness requires compensating, defense-in-depth controls. Follow Rockwell Automation's PN1550 guidance for CVE-2021-22681 and applicable controller-specific security guidance.
What products are affected by CVE-2021-22681?
Rockwell Automation Rslogix 5000, Rockwell Automation Studio 5000 Logix Designer, and Rockwell Automation Factorytalk Services Platform.
How severe is CVE-2021-22681?
CVE-2021-22681 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 63.6% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

54 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
optiv blogNews · Aug 27, 2026Prevent OT Incidents with Strong Security Fundamentals | BlogA CVSS 9.8 authentication-bypass vulnerability in the authentication design of Rockwell Automation Logix controllers. Insufficient protection of a cryptographic key can allow a client identifying as Studio 5000 Logix Designer to be treated as a trusted operator. The article states it is actively exploited, listed in CISA's Known Exploited Vulnerabilities catalog, and lacks a complete vendor patch.Read more ↗lares blogNews · Aug 12, 2026Minnesota Water Attacks: OT Security Lessons for CISOs | LaresAn unauthenticated access vulnerability affecting Rockwell Logix controllers, cited here as a plausible intrusion vector in attacks against water utilities.Read more ↗forescoutNews · Aug 5, 2026OT Security Analysis: Exposed Devices Attacked in US Water SystemsA Rockwell Automation/Allen-Bradley controller vulnerability identified in the article as the only one known to be exploited; it is significant because it is in CISA KEV, though the article states it does not affect the MicroLogix controllers involved in the advisory.Read more ↗security affairsNews · Aug 2, 2026CISA Urges Utilities to Remove Internet-Exposed PLCs After Minnesota AttacksA critical Rockwell Automation vulnerability affecting industrial controllers, rated CVSS 9.8. The article reports active exploitation by Iranian-affiliated actors since March 2026 and no available patch, making network isolation and compensating controls essential. It does not establish that this vulnerability was used in the Minnesota attacks or explicitly attribute its exploitation to CyberAv3ngers.Read more ↗
+12 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity30Community discussion across Reddit, Mastodon, and other social sources.