๐Ÿ›ก๏ธ CVE-2026-31156
๐ŸŸก CVSS 6.5 โ€” Medium โš ๏ธ Exploit Public CWE-22 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity MEDIUM
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE CWE-22
Public Exploit โš ๏ธ Yes
Source NVD
Published 2026-05-13
Updated 2026-06-02
Modified 2026-05-26
Fix URL N/A

Affected Packages

Software From version Fixed in
openplc-v3-firmware โ€” โ€”
unknown โ€” โ€”

References

Exploit, Third Party Advisory https://github.com/unicorn-hyh/CVE-2026-31156
Exploit, Third Party Advisory https://github.com/unicorn-hyh/CVE-2026-31156

Similar Threats

Exploit Protection

Help block exploit attempts

BotEraser is designed to detect and help reduce malicious bot traffic that may target known vulnerabilities on your site.

Try BotEraser Free โ†’

No credit card required  ยท  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.