CVE-2021-31630
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.0 High
AV: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 High
CVSS: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.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | FlojBoj/CVE-2021-31630 | 2024-07-26 |
| PoC in GitHub | Hunt3r0x/CVE-2021-31630-HTB | 2024-03-20 |
| PoC in GitHub | UserB1ank/CVE-2021-31630 | 2025-10-06 |
| PoC in GitHub | adibna/cve-2021-31630 | 2024-06-21 |
| PoC in GitHub | behindsecurity/htb-wifinetictwo-exploit | 2024-04-04 |
| PoC in GitHub | hev0x/CVE-2021-31630-OpenPLC_RCE | 2021-08-02 |
| PoC in GitHub | junnythemarksman/CVE-2021-31630 | 2024-06-04 |
| PoC in GitHub | machevalia/OpenPLC-CVE-2021-31630-RCE | 2025-06-23 |
| PoC in GitHub | manuelsantosiglesias/CVE-2021-31630 | 2024-07-24 |
| PoC in GitHub | mind2hex/CVE-2021-31630-OpenPLC-3-Authenticated-RCE | 2024-04-15 |
| PoC in GitHub | thewhiteh4t/cve-2021-31630 | 2024-03-28 |
| PoC in GitHub | tranquac/OpenPLC_v3 | 2025-10-27 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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.