Read the docs

Path traversal in CODESYS Automation Server Connector lets attackers write files

Priority MEDIUM 48CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

CODESYS Automation Server Connector from 1.23.0.0 before 1.40.0.0 uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker who controls a malicious Automation Server that a user is tricked into trusting, or who performs a man-in-the-middle attack on a trusted channel, can write attacker-controlled files to arbitrary locations on the engineering workstation (CWE-22). This can lead to arbitrary code execution with user privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

Description from the CNA

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.

Why it matters now

Fix Fixed Automation Server Connector (CODESYS): 1.40.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
CODESYSAutomation Server Connector1.23.0.0 to before 1.40.0.01.40.0.0Patch availableCNA
  • Automation Server Connector VendorCODESYS Affected 1.23.0.0 to before 1.40.0.0 Fixed in 1.40.0.0 Patch available CNA

Remediation

Update CODESYS Automation Server Connector to version 1.40.0.0 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

  • Fix · CNA Automation Server Connector (CODESYS) Fixed in 1.40.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    CODESYS Automation Server Connector 1.40.0.0

    3 records Highest priority Priority MEDIUM 3 MEDIUM

    Other records, highest priority first

    • TI-2026-92475 Improper certificate validation in CODESYS Automation Server ConnectorPriority MEDIUM 48
    • TI-2026-92474 CODESYS Automation Server Connector and Service Tool: reference resolution flawPriority MEDIUM 48

Timeline

  1. 2026-11-17 Threatist record created from CVE-2026-118498

References

  • TI-2021-12888 CODESYS Control Runtime system before 3.5.17.10 has a Heap-based Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-10180 Stack-based buffer overflow in CODESYS V3 web server CVSS 3.1CRITICAL 9.8
  • TI-2021-13604 CODESYS V2 web server: crafted requests could trigger a null pointer dereference (DoS) CVSS 3.1HIGH 7.5
  • TI-2020-08257 CODESYS V3 web server before 3.5.15.40, as used in CODESYS Control runtime systems, has a buffer overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-13592 CODESYS 3 web server before 3.5.15.20, as distributed with CODESYS Control runtime systems, has a Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2017-03937 Unrestricted file upload in 3S-Smart Software Solutions GmbH CODESYS Web Server CVSS 3.0CRITICAL 9.8
See all 155 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences