{"id":"CVE-2026-31156","published":"2026-05-13T00:00:00Z","modified":"2026-07-05T01:35:15Z","title":"A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00463,"percentile":0.32128,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/unicorn-hyh/CVE-2026-31156","tags":[]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":6.43},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-13","earliestUrl":"https://github.com/unicorn-hyh/CVE-2026-31156","repos":[{"name":"unicorn-hyh/CVE-2026-31156","url":"https://github.com/unicorn-hyh/CVE-2026-31156","stars":0,"created":"2026-05-13"}]},"first":{"date":"2026-05-13","source":"PoC-in-GitHub","url":"https://github.com/unicorn-hyh/CVE-2026-31156"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T13:56:11.488350Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29960","exploited":false,"provenance":"source"}}