PT-2026-40634 · Unknown · Openplc V3

Unicorn-Hyh

·

Published

2026-05-13

·

Updated

2026-05-15

·

CVE-2026-31156

CVSS v2.0

6.8

Medium

VectorAV:N/AC:L/Au:S/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a)
Description A path injection issue exists in the binary program compiled from glue generator.cpp. The software fails to validate file path parameters passed via the command line, specifically the varName and varType parameters. These user-controlled inputs are passed directly to file operation functions such as fopen(), ifstream, and ofstream, allowing a remote attacker to read and write arbitrary files by constructing malicious paths.
Recommendations For version 2c82b0e79c53f8c1f1458eee15fec173400d6e1a, restrict access to the binary compiled from glue generator.cpp to prevent unauthorized command-line input. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2026-06814
CVE-2026-31156

Affected Products

Openplc V3