# CVE-2021-31630: Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 26.4%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-03T14:50:46.000Z
- Modified: 2026-06-17T03:52:05.827Z
- Weaknesses: CWE-94
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openplcproject openplc_v3_firmware: no versions given

## Every score

- NVD: 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`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://www.youtube.com/watch?v=l08DHB08Gow> (exploit, third-party-advisory)
- <https://packetstormsecurity.com/files/162563/OpenPLC-WebServer-3-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2021-31630](https://www.cve.org/CVERecord?id=CVE-2021-31630), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31630](https://nvd.nist.gov/vuln/detail/CVE-2021-31630), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31630 · Whole record: https://cve.day/CVE-2021-31630.json · Rebuilt by cve.day 2026-11-25T22:58:02.946Z
