Description
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.
CVSS 9.9EPSS 0.365%Risque 1.02
Voir la source- Publication
- 2026-08-05 13:24:51
- Dernière modification
- 2026-08-10 12:17:29
- Vecteur
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H