CVE-2026-121019: Improper Limitation of a Pathname to a Restricted Directory in CODESYS Visualization
An unauthenticated attacker can trick a local user into generating an offline boot application from a malicious CODESYS project, causing the affected products to write files in arbitrary directories on the engineering workstation. The destination path is derived from attacker-controlled project data, whereas the file name and file contents are generated by the affected products and are not attacker-controlled.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Engineering workstations where a local user opens a malicious CODESYS project and generates an offline boot application are exposed. The attacker does not need to authenticate, but exploitation requires persuading a local user to perform that action.
What level of file-system control does exploitation provide?
The attacker-controlled project data can influence the destination path, causing files to be written to arbitrary directories on the engineering workstation. The attacker does not control the generated file name or file contents.
Is user interaction required?
Yes. A local user must be tricked into generating an offline boot application from the malicious project.