Siemens has addressed a high-severity vulnerability in its ROS# open-source software library that could allow an attacker to achieve arbitrary code execution. The security issue stems from improper handling of user-supplied data during code generation processes, exposing systems in critical manufacturing environments to potential compromise.

The cybersecurity flaw was cataloged as CVE-2026-109097 and republished in an industrial control systems advisory by CISA Advisories following an initial report by Siemens ProductCERT. The vendor has released a patched version and urges all users to update their installations promptly.

Flawed Parsing Leads to Arbitrary Code Injection

The vulnerability lies in how ROS# parses message definition files when generating software components. According to the advisory, affected installations fail to properly escape the text contained within these files. This parsing failure is categorized under CWE-94 as an improper control of generation of code vulnerability.

To exploit the flaw, an attacker must supply a specially crafted message definition file to a targeted user. If the user processes the malicious file, the unescaped text is incorporated into the build process, injecting arbitrary code into the newly generated program. Because the vulnerability requires local access alongside user interaction, it carries a CVSS v3.1 base score of 8.2 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Despite the requirement for low-privilege local access and user interaction, the scope of the vulnerability is considered changed (S:C). A successful attack yields high impacts on system confidentiality, integrity, and availability, effectively granting the threat actor control over the generated software application.

Impact on Critical Manufacturing

ROS# is a set of open-source software libraries and tools developed in C# for communicating with the Robot Operating System (ROS) from .NET applications. It is frequently deployed to integrate robotic systems, simulation environments, and control interfaces.

According to security authorities, the affected software is deployed globally, primarily within the critical manufacturing sector. Organizations utilizing robotics workflows that rely on ROS# pipelines to dynamically generate program logic or communication messages are exposed to risk if they consume untrusted external files.

The vulnerability impacts all versions of Siemens ROS# prior to version 2.3.1. Siemens confirmed that no other versions are known to be affected once the update is applied.

Siemens resolved the flaw in ROS# version 2.3.1. Engineering and development teams are advised to upgrade their dependencies immediately to version 2.3.1 or later to prevent potential exploitation.

In addition to applying the software update, CISA and Siemens advise asset owners to implement broad defensive measures across industrial environments. Development and engineering pipelines handling external assets should be protected against unauthorized file distribution.

Defenders should isolate control system networks and engineering workstations from corporate business networks using robust firewalls. Remote access to operational technology (OT) systems should only occur through secure virtual private networks (VPNs) running up-to-date firmware, while general network exposure to the internet should be eliminated wherever possible.