Every CVE Search/ Get API key

CVE-2021-31630

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via...

8.8 HighPublic exploit

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

27.1%Up 25.6 points since Aug 4, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

Record
CVE-2021-31630
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
9.0 HighAV:N/AC:L/Au:S/C:C/I:C/A:C
Weakness
CWE-94
Updated
2026-11-02
CVE List No score

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

Record
CVE-2021-31630
Updated
2026-11-02
EUVDEUVD-2021-18519 No score

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

Record
EUVD-2021-18519
Updated
2026-11-03
GitHub AdvisoriesGHSA-2c27-grr5-3w2g 8.8

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via...

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

Record
GHSA-2c27-grr5-3w2g
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78, CWE-94
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubFlojBoj/CVE-2021-316302024-07-26
PoC in GitHubHunt3r0x/CVE-2021-31630-HTB2024-03-20
PoC in GitHubUserB1ank/CVE-2021-316302025-10-06
PoC in GitHubadibna/cve-2021-316302024-06-21
PoC in GitHubbehindsecurity/htb-wifinetictwo-exploit2024-04-04
PoC in GitHubhev0x/CVE-2021-31630-OpenPLC_RCE2021-08-02
PoC in GitHubjunnythemarksman/CVE-2021-316302024-06-04
PoC in GitHubmachevalia/OpenPLC-CVE-2021-31630-RCE2025-06-23
PoC in GitHubmanuelsantosiglesias/CVE-2021-316302024-07-24
PoC in GitHubmind2hex/CVE-2021-31630-OpenPLC-3-Authenticated-RCE2024-04-15
PoC in GitHubthewhiteh4t/cve-2021-316302024-03-28
PoC in GitHubtranquac/OpenPLC_v32025-10-27

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-31630 is a high vulnerability (CVSS 8.8) in Openplcproject Openplc V3 Firmware, published August 3, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 27.1%, the 98th percentile. No source names a fixed version.

References

MoveEnter Open