CVE-2026-31156CWE-22path-traversal

CVE-2026-31156

Medium · published May 13, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
39.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00463 · 39.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-05-13T20:16Z
Affected products (1)
ProductVersionsFixed in
openplcproject/openplc_v3_firmwareall versions—
References (2)
EPSS history
Timeline
  • 13 MAY 00:00Z
    A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from glue_generator.cpp does not…
    cvelistv5