CVE-2026-31156

MEDIUM CVSS 3.1: 6.5 EPSS 0.39%
Updated Oct 20, 2026
Openplcproject
Parameter Value
CVSS 6.5 (MEDIUM)
Type CWE-22 (Path Traversal)
Vendor Openplcproject
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Openplcproject Openplc_V3_Firmware
cpe:2.3:o:openplcproject:openplc_v3_firmware:2024-03-09:*:*:*:*:*:*:*
— —
Openplcproject Openplc_V3
cpe:2.3:h:openplcproject:openplc_v3:-:*:*:*:*:*:*:*
— —