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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-05 13:24
Updated : 2026-08-26 17:13
NVD link : CVE-2026-71268
Mitre link : CVE-2026-71268
CVE.ORG link : CVE-2026-71268
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
