{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31156","published":"2026-05-13T16:16:38.763000Z","last_modified":"2026-10-19T22:10:00.130000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:o:openplcproject:openplc_v3_firmware:2024-03-09:*:*:*:*:*:*:*","part":"o","vendor":"openplcproject","product":"openplc_v3_firmware","version":"2024-03-09"}],"cpes_truncated":false,"vendors":["openplcproject"],"products":["openplcproject/openplc_v3_firmware"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"firmware","platform":"appliance","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-31156/","html_en":"/en/cve/CVE-2026-31156/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31156","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31156"},"untrusted":{"vendor_name":"Openplcproject","product_name":"Openplc V3 Firmware","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/unicorn-hyh/CVE-2026-31156","tags":["Exploit","Third Party Advisory"]}]}}