Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-47770

CVE-2021-47770: OpenPLC v3 RCE Vulnerability

CVE-2021-47770 is an authenticated remote code execution vulnerability in OpenPLC v3 that allows attackers to inject malicious code via the hardware configuration interface. This article covers technical details, affected systems, and mitigation.

Published: January 23, 2026

CVE-2021-47770 Overview

CVE-2021-47770 is an authenticated remote code execution (RCE) vulnerability affecting OpenPLC v3, an open-source programmable logic controller platform. This vulnerability allows attackers with valid credentials to inject malicious code through the hardware configuration interface. By uploading a custom hardware layer containing embedded reverse shell code, attackers can establish a network connection to a specified IP address and port, enabling remote command execution on the underlying system.

Critical Impact

Authenticated attackers can achieve full remote code execution on OpenPLC v3 systems, potentially compromising industrial control systems and critical infrastructure.

Affected Products

  • OpenPLC v3

Discovery Timeline

  • 2026-01-21 - CVE CVE-2021-47770 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2021-47770

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, also known as Code Injection). The flaw exists within OpenPLC v3's hardware configuration interface, which fails to properly validate and sanitize user-supplied input when processing custom hardware layer uploads.

The vulnerability requires authenticated access to the OpenPLC web interface, meaning an attacker must first obtain valid credentials. Once authenticated, the attacker can exploit the hardware configuration functionality to upload a malicious hardware layer containing arbitrary code. This code is then executed by the OpenPLC runtime with the privileges of the underlying process.

The attack is network-accessible, can be executed with low complexity, and does not require user interaction beyond the initial authentication. However, the requirement for high privileges (administrator-level access) limits the attack surface somewhat. Despite this limitation, the impact is severe as successful exploitation grants complete control over the confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability is insufficient input validation in the hardware layer upload functionality. OpenPLC v3 allows administrators to customize hardware configurations by uploading custom hardware layer code. The application fails to properly sanitize or validate this uploaded code before compiling and executing it, creating a code injection vulnerability.

The hardware layer interface is designed to allow flexibility in configuring OpenPLC for various hardware platforms. However, this flexibility was implemented without adequate security controls, allowing attackers to embed malicious code such as reverse shells within the hardware layer definition.

Attack Vector

The attack vector for CVE-2021-47770 involves the following sequence:

  1. Authentication: The attacker first authenticates to the OpenPLC v3 web interface using valid credentials (obtained through credential theft, brute force, or default credentials)

  2. Hardware Layer Access: The attacker navigates to the hardware configuration section of the web interface

  3. Malicious Upload: The attacker uploads a custom hardware layer containing embedded malicious code, typically a reverse shell payload

  4. Code Execution: When the hardware layer is compiled and loaded, the embedded malicious code executes, establishing a connection back to the attacker's system

  5. Remote Access: The attacker gains interactive shell access to the underlying operating system with the privileges of the OpenPLC process

A proof-of-concept exploit demonstrating this attack is documented in Exploit-DB #49803. Attackers typically embed reverse shell code that opens a network socket to an attacker-controlled server, providing persistent remote access to the compromised system.

Detection Methods for CVE-2021-47770

Indicators of Compromise

  • Unexpected outbound network connections from OpenPLC processes to external IP addresses
  • Modified hardware layer configuration files containing suspicious code patterns such as socket connections or shell commands
  • Unusual process spawning from the OpenPLC runtime process
  • Web server logs showing repeated access to hardware configuration endpoints

Detection Strategies

  • Monitor OpenPLC web interface access logs for suspicious activity on hardware configuration endpoints
  • Implement network segmentation and monitor for anomalous outbound connections from industrial control system networks
  • Deploy file integrity monitoring on OpenPLC configuration directories to detect unauthorized modifications
  • Review uploaded hardware layer code for suspicious patterns such as socket, exec, system, or reverse shell indicators

Monitoring Recommendations

  • Establish baseline network behavior for OpenPLC systems and alert on deviations
  • Configure SIEM rules to correlate authentication events with hardware configuration changes
  • Implement endpoint detection and response (EDR) solutions on systems running OpenPLC to detect post-exploitation activity
  • Monitor for process ancestry anomalies where OpenPLC spawns unexpected child processes

How to Mitigate CVE-2021-47770

Immediate Actions Required

  • Restrict network access to OpenPLC web interfaces using firewall rules or network segmentation
  • Review and audit all user accounts with access to OpenPLC systems, removing unnecessary accounts and enforcing strong passwords
  • Implement multi-factor authentication for administrative access where possible
  • Disable or restrict the hardware layer upload functionality if not required for operations

Patch Information

Organizations using OpenPLC v3 should monitor the GitHub OpenPLC Project for security updates and patches addressing this vulnerability. Review the VulnCheck OpenPLC Advisory for additional guidance and remediation information. The OpenPLC Project Homepage may also provide security announcements and recommended mitigations.

Workarounds

  • Implement network access controls to limit who can reach the OpenPLC web interface
  • Place OpenPLC systems on isolated network segments with strict egress filtering to prevent reverse shell connections
  • Use web application firewalls (WAF) to filter potentially malicious uploads to the hardware configuration interface
  • Monitor and restrict outbound network connections from systems running OpenPLC
bash
# Example: Restrict outbound connections from OpenPLC using iptables
# Block all outbound connections except to known required destinations
iptables -A OUTPUT -m owner --uid-owner openplc -j DROP
# Allow only specific required outbound traffic
iptables -I OUTPUT -m owner --uid-owner openplc -d 192.168.1.0/24 -j ACCEPT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenplc

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub OpenPLC Project

  • Exploit-DB #49803

  • OpenPLC Project Homepage

  • VulnCheck OpenPLC Advisory
  • Related CVEs
  • CVE-2021-31630: OpenPLC V3 Firmware RCE Vulnerability

  • CVE-2026-35063: OpenPLC_V3 Privilege Escalation Flaw

  • CVE-2026-35556: OpenPLC V3 Information Disclosure Flaw

  • CVE-2026-28205: OpenPLC_V3 Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English