CVE-2026-118498
Improper Limitation of a Pathname to a Restricted Directory in CODESYS Automation Server Connector
7.5
Description
The CODESYS Automation Server Connector uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker controlling a malicious Automation Server and tricking a user to trust it, or performing a man-in-the-middle attack on a trusted communication channel, can exploit this vulnerability to write attacker-controlled files to arbitrary locations on the engineering workstation and subsequently achieve arbitrary code execution with user privileges.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| automation server connector | codesys | 1.23.0.0 → <1.40.0.0 | 1.40.0.0 | CVE.org |