{"id":"CVE-2026-71268","published":"2026-08-05T12:26:15Z","modified":"2026-08-10T11:46:39Z","title":"OpenPLC Runtime v3 Path Traversal in Structured Text FILE Directive Leading to Arbitrary File Write","vendor":"thiagoralves","product":"OpenPLC_v3","tier":"tail","description":{"text":"OpenPLC Runtime v3's compile_program function (webserver/openplc.py) parses directives from uploaded Structured Text (.st) program files and writes the referenced content to with no validation that file_path stays within the ./core directory. A path-validation function, validate_file_path, exists elsewhere in the codebase (webserver/credentials.py) but is never invoked from compile_program, leaving the sink unprotected.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0058,"percentile":0.48634,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/thiagoralves/OpenPLC_v3","tags":["third-party-advisory"]},{"url":"https://github.com/thiagoralves/OpenPLC_v3/blob/master/webserver/openplc.py","tags":["third-party-advisory"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":9.73},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"thiagoralves","affectedVersions":[{"vendor":"thiagoralves","product":"OpenPLC_v3","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-05T15:41:39.300095Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-53353","exploited":false,"provenance":"source"}}