Skip to content

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 p...

MediumCVSS 6.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
openplcproject openplc v3 firmware = 2024-03-09 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openplcproject openplc v3 firmware = 2024-03-09 No fix listed

References