CVE-2026-31156: Path Traversal

Published May 13, 2026
·
Updated

A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from gluegenerator.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.

Affected Software

3 affected components
OpenPLC OpenPLC V3=2c82b0e79c53f8c1f1458eee15fec173400d6e1a
All of the following
Openplcproject Openplc V3 Firmware=2024-03-09
Openplcproject Openplc V3

Event History

May 13, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31156?

The CVE-2026-31156 vulnerability is considered to have a medium severity level due to its potential for path injection attacks.

2

How do I fix CVE-2026-31156?

To fix CVE-2026-31156, ensure the validation of file path parameters passed via the command line in OpenPLC v3.

3

Which versions of OpenPLC are affected by CVE-2026-31156?

OpenPLC v3 version 2c82b0e79c53f8c1f1458eee15fec173400d6e1a is the affected version for CVE-2026-31156.

4

What is a path injection vulnerability in the context of CVE-2026-31156?

Path injection vulnerability in CVE-2026-31156 refers to the lack of validation on user-controlled file path parameters which can lead to unauthorized access.

5

Who is the vendor for the OpenPLC software affected by CVE-2026-31156?

The vendor for the affected OpenPLC software is OpenPLC.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203