ROS# message definitions are code in all but name
Siemens ProductCERT advisory SSA-435267 describes CVE-2026-109097 in ROS# versions before 2.3.1. The issue is code injection through crafted message-definition text. CISA republished the vendor advisory as ICSA-26-321-06, with a high severity rating. The attacker needs to pass a crafted definition file to a user who generates code with the affected tool.
Generation turns data into software
ROS# is used to bridge ROS and .NET applications. A message definition describes fields, types, and the structure of a message. A generator consumes that description and produces source code. If text from the definition is inserted into generated code without escaping, a crafted field declaration can become executable syntax after the user builds the project.
The important trust question is not whether the definition file has a familiar extension. It is who controlled the bytes and whether the generator treats those bytes as untrusted input. A message definition shared by a research group, vendor, or integration partner can be as consequential as a source file.
The affected release is explicit
All versions before V2.3.1 are described as affected. The fix is the vendor release at or above V2.3.1. Operators should verify the installed package, the generated code checked into their repository, and the tool version used by the build. A repaired generator does not automatically remove malicious code that was already generated.
Place message-definition files under review. Record their origin and hash. Generate in a clean environment and inspect the diff before building or deploying it. Restrict write access to the generator and build pipeline. Treat pull requests that add message definitions as code changes rather than documentation changes.
Test with non-production definitions
Use a lab-generated set of malformed definitions and confirm that the fixed generator rejects or safely escapes them. Test special characters, nested declarations, comments, line endings, and unusually long fields. Keep the test artifacts out of production repositories. Do not evaluate the issue by opening an untrusted definition on a workstation with production credentials.
If a suspicious definition was processed, inspect the generated source and build artifacts, then review the machine that compiled them. Look for unexpected code, new build steps, outbound connections, and changes to signing or deployment credentials. Rebuild from trusted sources after the generator and templates are verified.
A small file in a long build chain
The vulnerability illustrates how a file that looks like metadata can enter the software supply chain as executable input. The defense has three parts: upgrade the generator, review the definition, and verify the generated output. A version check alone is useful only if it is paired with evidence of what the tool produced.
Top comments (0)