CVE Professor
/
All CVEs
CVE-2026-121016

CVE-2026-121016 — CODESYS Visualization (4.11.0.0) — CWE-669

HIGH CVSS 8.8 ⚡ EPSS 0.6% NVD

The affected products insufficiently restrict runtime-supplied visualization data, allowing local program execution on the engineering workstation, if a user is both logged in to a CODESYS Control runtime and operates a visualization. An unauthenticated remote attacker controlling a malicious runtime and tricking a user to trust it, or performing a man-in-the-middle attack on the communication between the CODESYS Control runtime and the engineering workstation, may cause arbitrary code execution on the engineering workstation.

The affected products insufficiently restrict runtime-supplied visualization data, allowing local program execution on the engineering workstation, if a user is both logged in to a CODESYS Control runtime and operates a visualization. An unauthenticated remote attacker controlling a malicious runtime and tricking a user to trust it, or performing a man-in-the-middle attack on the communication between the CODESYS Control runtime and the engineering workstation, may cause arbitrary code execution on the engineering workstation.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.6%
30-day probability
In the 51. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Root cause
The CODESYS Visualization component (4.11.0.0) accepts data that is supplied by a connected CODESYS Control runtime. That data is parsed and rendered locally on the engineering workstation. The component does not enforce any sandboxing or input‑validation on the runtime‑supplied payload. As a result, a malicious runtime can embed executable code (e.g., a script, macro, or command string) inside the visualization data. When the workstation renders the visualization, the embedded code is executed with the privileges of the logged‑in user.

CWE – CWE‑669 (Improper Restriction of Operations within the Bounds of a Memory Buffer).
In practice this manifests as an arbitrary code execution flaw: the attacker can inject data that is interpreted as executable instructions rather than benign visualization content.

Attack surface

  • The attacker must control a CODESYS Control runtime or perform a man‑in‑the‑middle (MITM) on the communication channel between the runtime and the workstation.

  • The victim must be logged in to that runtime and actively viewing a visualization.

  • No additional authentication or authorization is required beyond the normal user session.

  • ⚡ Attack Chain

    StepDescriptionTechnical Detail
    1. Discovery & ReconnaissanceIdentify CODESYS Visualization 4.11.0.0 installations on the network.• Scan for the default CODESYS Control port (usually TCP 5080) and the visualization service port (often TCP 5081). <br>• Query the /version endpoint (if exposed) or inspect the CODESYS banner in the TCP handshake. <br>• Verify that the workstation is running the vulnerable visualization client (e.g., by checking the CODESYS client version string in the UI or in the CODESYS log files).
    2. ExploitationDeliver malicious runtime‑supplied visualization data that contains executable payload.Illustrative PoC (the exact endpoint is not published in the CVE; the following demonstrates the payload structure that the vulnerable component will accept):<br><br>``json\n{\n \"title\": \"Engine Status\",\n \"data\": {\n \"temperature\": 75,\n \"pressure\": 1.2,\n \"script\": \"powershell -nop -c 'Start-Process calc.exe'\"\n }\n}\n`\n* The script field is a placeholder for any code that the visualization engine will execute. <br>* The attacker can send this JSON to the runtime’s API endpoint (e.g., POST /api/visualization/data) or inject it via a MITM that rewrites the payload on the fly. <br>* When the workstation renders the visualization, the embedded PowerShell command runs with the user’s privileges, spawning calc.exe` (or any other command). <br>Note: The exact URI and parameter names are not disclosed; the above is a representative example of how the flaw can be exercised.
    3. Post‑exploitationAchieve full impact on the engineering workstation.• Privilege Escalation – The code runs with the logged‑in user’s rights; if that user is an administrator, the attacker gains full control. <br>• Persistence – The attacker can drop a backdoor (e.g., a scheduled task, a malicious service, or a hidden executable). <br>• Data Exfiltration – The attacker can read PLC configuration files, logs, or any other sensitive data on the workstation. <br>• Lateral Movement – From the compromised workstation, the attacker can pivot to other devices on the plant network.

    🌍 Real World Impact

    ImpactCVSS VectorExplanation
    ConfidentialityHArbitrary code execution allows the attacker to read any file the user can access, including PLC configuration, credentials, or proprietary process data.
    IntegrityHThe attacker can modify PLC logic, overwrite configuration files, or tamper with logs, potentially causing unsafe plant operation.
    AvailabilityHThe attacker can crash the visualization client, terminate the CODESYS Control runtime, or install malware that disrupts normal operation, leading to downtime.
    ScopeNThe vulnerability does not affect other components or systems directly; it is limited to the workstation running the visualization client.

    Practical consequences

  • Loss of control over critical industrial processes.

  • Potential safety hazards if PLC logic is altered.

  • Significant downtime and repair costs.

  • Regulatory non‑compliance if the organization is subject to IEC 62443, NIST 800‑82, or similar frameworks.

  • 🛡️ Remediation & Mitigation

    Affected Versions

  • CODESYS Visualization 4.11.0.0 (and any builds that have not applied the vendor’s patch).
  • Vendor Fix

  • The vendor has released a patch in the 4.12.0.0 release (or later).
  • Upgrade Path – Download the latest CODESYS Visualization installer from the official CODESYS website and install it over the existing installation.
  • Rollback – If an upgrade is not immediately possible, apply the following workaround.
  • Workarounds

    MitigationHow to Implement
    Disable Runtime‑Supplied DataIn the CODESYS Visualization client, disable the option that allows the runtime to push data. This is typically found under *Settings → Runtime Communication → Allow Runtime Data*; set it to *Disabled*.
    Network SegmentationPlace the engineering workstations on a separate VLAN and restrict inbound traffic to the CODESYS Control runtime port to only known, trusted devices.
    TLS EnforcementEnable TLS for the communication channel between the runtime and the workstation. This prevents MITM attacks that could inject malicious payloads.
    Endpoint ProtectionDeploy an endpoint protection platform that blocks execution of untrusted scripts or macros on the workstation.
    User TrainingInstruct users to verify the identity of the runtime before opening a visualization, especially when connecting to unfamiliar devices.

    Detection

    IndicatorLog PatternHow to Detect
    Unexpected script executionINFO: Executing script: powershell -nop -c '...'Monitor the CODESYS Visualization logs for any Executing script entries that contain PowerShell, CMD, or other shell commands.
    Unusual network trafficMITM detected on port 5081Inspect network logs for TLS handshake failures or traffic anomalies on the visualization port.
    File creationFile created: C:\Temp\malicious.exeUse file integrity monitoring to detect new executables in system directories.
    Process creationProcess started: calc.exeWatch for processes that are launched by the visualization client that are not part of normal operation.

    ⚠️ Urgency

  • CVSS Score: 8.8 (High) – indicates a severe risk with low exploitation complexity.
  • CISA KEV: No – the vulnerability is not listed as a known exploit in the KEV database, but that does not reduce its risk.
  • Exploit Complexity: Low – the attacker only needs to control a runtime or perform a MITM; no privileged access is required.
Recommendation: Apply the vendor patch (upgrade to 4.12.0.0 or later) as soon as possible. If an upgrade cannot be performed immediately, implement the recommended workarounds and monitor for the detection indicators above. Given the high impact on confidentiality, integrity, and availability, the patching priority should be critical for all production and test environments that use CODESYS Visualization 4.11.0.0.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="CODESYS Visualization"
PoC & Exploit Intelligence (GitHub)
cveForge/CVE-2026-121016 Python 2026-11-24
PoC for CVE-2026-121016 — Runtime Visualization Unsafe eval() Code Injection (CVSS 8.8)
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-669
Affected Products (1)
CODESYS:Visualization (4.11.0.0)
References & Advisories (1)
Related CVEs
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
9.2
CVE-2026-144598
Homebox 0.22.0-rc.2 through 0.27.1 contains an authentication bypass vulnerability in UserService.LoginOIDC th
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.1
CVE-2026-144956
Hoverfly before 1.12.17 contains an improper certificate validation vulnerability in GetHttpClient in core/htt
8.8
CVE-2026-77417
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac