CVE-2026-31156
A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from glue_generator.cpp does not perform any validation on the file path parameters passed via the command line. The user-controlled input parameters are directly passed to the underlying file operation functions (fopen/ifstream/ofstream) for file reading and writing. An attacker can exploit this vulnerability by constructing a malicious path to read arbitrary readable files.
Published:May 13, 2026
Last Modified:May 26, 2026
EPS:May 13, 2026
EPSS Score:0.00059
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Openplc
Product
Openplc
Openplc
Openplc
Vendor
Openplcproject
Product
Openplc V3
Openplcproject
Openplc V3
Vendor
Openplcproject
Product
Openplc V3 Firmware
Openplcproject
Openplc V3 Firmware
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
