CVE-2025-40759
HighCVSS 7.8Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
A vulnerability in Siemens SIMATIC and TIA Portal products is caused by improper sanitization of stored security properties when parsing project files. An attacker can exploit this to trigger a type confusion and execute arbitrary code within the affected application.
Risk Assessment
The risk includes local or remote arbitrary code execution via opening a crafted project file, potentially leading to full control of the engineering workstation and impacting the integrity of industrial automation systems.
Recommendation
Apply available updates for all affected product versions immediately, restrict opening project files from untrusted sources, and enforce least-privilege principles for users.
Other vulnerabilities in Siemens TIA Portal
See all- CVE-2026-25787Critical
The vulnerability in industrial devices is due to improper validation and sanitization of the Technology Object (TO) name displayed on the 'Motion Control Diagnostics' page of the web interface. This allows an authenticated attacker authorized to download a TIA project into the device to inject malicious scripts into the page.
- CVE-2026-25786Critical
Affected devices do not properly validate and sanitize PLC/station name rendered on the communication parameters page of the web interface. This allows an authenticated attacker authorized to download a TIA project into the product to inject malicious scripts. If a benign user with appropriate rights accesses the page, the malicious code executes in their session context.
Original NVD description (English source)
A vulnerability has been identified in SIMATIC S7-PLCSIM V17 (All versions), SIMATIC STEP 7 V17 (All versions < V17 Update 9), SIMATIC STEP 7 V18 (All versions < V18 Update 6), SIMATIC STEP 7 V19 (All versions < V19 Update 4), SIMATIC STEP 7 V20 (All versions < V20 Update 4), SIMATIC WinCC V17 (All versions < V17 Update 9), SIMATIC WinCC V18 (All versions < V18 Update 6), SIMATIC WinCC V19 (All versions < V19 Update 4), SIMATIC WinCC V20 (All versions < V20 Update 4), SIMOCODE ES V17 (All versions), SIMOCODE ES V18 (All versions), SIMOCODE ES V19 (All versions), SIMOCODE ES V20 (All versions), SIMOTION SCOUT TIA V5.4 (All versions), SIMOTION SCOUT TIA V5.5 (All versions), SIMOTION SCOUT TIA V5.6 (All versions < V5.6 SP1 HF7), SIMOTION SCOUT TIA V5.7 (All versions), SINAMICS Startdrive V17 (All versions), SINAMICS Startdrive V18 (All versions), SINAMICS Startdrive V19 (All versions), SINAMICS Startdrive V20 (All versions), SIRIUS Safety ES V17 (TIA Portal) (All versions), SIRIUS Safety ES V18 (TIA Portal) (All versions), SIRIUS Safety ES V19 (TIA Portal) (All versions), SIRIUS Safety ES V20 (TIA Portal) (All versions), SIRIUS Soft Starter ES V17 (TIA Portal) (All versions), SIRIUS Soft Starter ES V18 (TIA Portal) (All versions), SIRIUS Soft Starter ES V19 (TIA Portal) (All versions), SIRIUS Soft Starter ES V20 (TIA Portal) (All versions), TIA Portal Cloud V17 (All versions), TIA Portal Cloud V18 (All versions), TIA Portal Cloud V19 (All versions < V5.2.1.1), TIA Portal Cloud V20 (All versions < V5.2.2.2). Affected products do not properly sanitize stored security properties when parsing project files. This could allow an attacker to cause a type confusion and execute arbitrary code within the affected application.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

