CVE-2026-71268
9.9 CRITICALpublic exploit availablePublished 2026-08-05 · Updated 2026-08-10
AI risk analysis
- Summary
- The flaw allows an attacker to execute arbitrary code by manipulating file paths in Structured Text (.st) program files, due to lack of proper validation.
- Exploitability
- Exploitation is relatively easy as the necessary conditions are met with just file path manipulation, requiring no additional privileges.
- Blast radius
- If exploited, the impact could be severe, potentially leading to full system compromise or data corruption.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Disable the compile_program function or ensure it invokes the validate_file_path function from credentials.py.
rcecode-execwebfile-inclusion
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-22
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.