Skip to main content

SIMATIC CN 4100 CVE-2025-40937

HIGH
Command Injection (CWE-77)
2025-12-09 productcert@siemens.com
8.7
CVSS 4.0 · Vendor: siemens
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to device REST API
  2. Exploit
    Craft request with malicious arguments
  3. Execution
    Trigger command injection in unvalidated parameter
  4. Impact
    Execute arbitrary OS commands at limited privilege

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) network access to the device's REST API endpoint and (2) valid authenticated credentials to that API (PR:L), after which the attacker sends unexpected/unvalidated argument values to inject commands. Limiting factors: the attacker must already be authenticated (not an anonymous remote attacker), resulting code execution runs only with limited privileges per the advisory (not root/admin), and only firmware versions below V4.0.1 are affected - upgrading to V4.0.1 or later removes exposure. No end-user interaction is required (UI:N).

Impact

This is a moderate-to-serious priority rather than an emergency. The vendor-issued CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L) scores 8.7 (High) and indicates network-reachable, low-complexity exploitation with no user interaction, but it explicitly requires low-level privileges (PR:L) - meaning the attacker must already be an authenticated user of the REST API. That authentication requirement, combined with the description's own note that resulting code execution is 'with limited privileges,' meaningfully tempers the real-world risk. Exploitation signals are weak-to-neutral: EPSS is only 0.59% (46th percentile), there is no CISA KEV listing, and no public exploit code was identified, so there is no public exploit identified at time of analysis. The signals are internally consistent - a high technical-impact flaw (command injection, CWE-77) gated behind authentication and yielding only limited privileges, with no evidence of active or imminent mass exploitation. No SSVC decision data was provided in the input. Net: patch on a normal prioritized cadence; it is not a drop-everything issue absent evidence of targeting against the specific affected ICS device.

Exploit ScenarioDerived

An attacker who already holds valid (low-privilege) credentials for the SIMATIC CN 4100's REST API submits a request containing crafted/unexpected argument values that the API fails to validate, injecting operating-system commands (CWE-77). The injected commands execute on the device with limited privileges, giving the attacker a foothold on the communication node. No public proof-of-concept exploit is known at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Authenticated command injection in the REST API of Siemens SIMATIC CN 4100 firmware versions below V4.0.1 allows a user who already holds valid API credentials to pass unexpected argument values that are not properly validated, resulting in execution of arbitrary code with limited privileges on the controller. Exploitation requires both network reachability to the REST API endpoint and authenticated access (CVSS vector PR:L), so it is not an anonymous, drive-by attack, and the resulting code runs at restricted privilege rather than as root or admin. There is no indication of active exploitation (not listed in CISA KEV) and no public exploit identified at time of analysis; EPSS is 0.59% (46th percentile), and Siemens has released V4.0.1 which removes the exposure. Our independent assessment maps this to CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L, i.e. a moderate-to-serious priority rather than an emergency.

RemediationAI

Vendor-released patch: V4.0.1 - Siemens SIMATIC CN 4100 firmware should be upgraded to V4.0.1 or later as documented in advisory SSA-416652 (https://cert-portal.siemens.com/productcert/html/ssa-416652.html); since all versions below V4.0.1 are affected, no version pinning or configuration change is an equivalent substitute for the upgrade. Until the upgrade can be scheduled, the most effective compensating control is to remove the authenticated-but-untrusted exposure path: restrict network access to the device's REST API using an industrial firewall or cell-protection zone so that only specifically trusted engineering/SCADA hosts can reach the API port, accepting the operational trade-off that remote diagnostics and third-party integrations from other segments will stop working. Where configuration allows, disable or disable-remote for the REST/management interface and perform configuration only from a directly attached engineering workstation or via a jump host, at the cost of losing remote management convenience. Treat API credentials as a security boundary rather than a formality: rotate SIMATIC CN 4100 API accounts, remove or disable unused accounts, avoid shared credentials, and enforce least privilege so that any single compromised account yields the least possible reach. Apply Siemens' general operational guidelines for industrial security (network segmentation, protected cell architecture, monitoring) and alert on anomalous or malformed REST API requests to the device, since the injection is only reachable after successful authentication and would therefore appear in logs as legitimate sessions with unusual parameter payloads. Note that because exploitation yields only limited privileges, post-exploitation hardening and monitoring of the controller's process state remain worthwhile defensive measures in addition to patching.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the firmware operating system image of the Siemens SIMATIC CN 4100 industrial controller (CPE cpe:2.3:o:siemens:simatic_cn_4100_firmware:*:*:*:*:*:*:*:*), which exposes a network-accessible REST API for configuration, diagnostics and control functions. The root cause is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command, i.e. command injection): the API layer accepts caller-supplied parameters without adequate validation or canonicalization, so unexpected arguments are forwarded into downstream command/processing logic where they are interpreted as instructions rather than inert data. This is a classic input-validation defect at a trust boundary that combines HTTP request parsing with command construction; because the parser enforces authentication but not parameter shape, an authenticated session becomes the delivery vehicle for injected content. The vendor's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L, score 8.7) reflects high confidentiality and integrity impact with limited availability impact, and our independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L) is consistent with that reading, with the important qualifiers that the attacker must already be authenticated and that the injected code executes under constrained privileges. Note that the CVSS 4.0 vector's threat/exploit metrics (E:X) are not defined by the vendor, meaning no confirmed exploitation signal is asserted in the advisory itself.

Know when Simatic Cn 4100 Firmware gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (siemens) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 8.3 HIGH

Network-reachable REST API (AV:N, AC:L) requires authenticated low-privilege access (PR:L, no UI); command injection yields high confidentiality/integrity but only limited-privilege impact, so A:L.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (siemens).

CVSS VectorVendor: siemens

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0.1). The affected application do not properly validate input parameters in its REST API, resulting in improper handling of unexpected arguments. This could allow an authenticated attacker to execute arbitrary code with limited privileges.

Executive ViewAI

Why It Matters

Siemens SIMATIC CN 4100 controllers running firmware earlier than V4.0.1 contain an authenticated command-injection weakness in their REST API that would let a holder of valid API credentials and network access execute unauthorized code on the device. Because these controllers sit at the center of industrial process control, a successful attack could disrupt, manipulate, or halt controlled operations, and the credential requirement means the realistic threat is an insider, a compromised service account, or an external attacker who has already breached the OT network. There is no public exploit code and no confirmed active exploitation, making this a scheduled high-priority remediation rather than an emergency response.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 54% exploitable
Prevalence
Low
niche Siemens industrial communication node, industry-specific ICS deployment
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:o:siemens:simatic_cn_4100_firmware:*:*:*:*:*:*:*:*
CVE-2024-32741 CRITICAL
10.0 May 14

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V3.0). Rated critical severity (CVSS 10.0), this

CVE-2023-29131 CRITICAL
10.0 Jul 11

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V2.5). Rated critical severity (CVSS 10.0), this

CVE-2023-29130 CRITICAL
10.0 Jul 11

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V2.5). Rated critical severity (CVSS 10.0), this

CVE-2023-49621 CRITICAL
9.8 Jan 09

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V2.7). Rated critical severity (CVSS 9.8), this v

CVE-2024-32740 CRITICAL
9.8 May 14

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V3.0). Rated critical severity (CVSS 9.8), this v

CVE-2025-40938 CRITICAL
9.2 Dec 09

SIMATIC CN 4100 devices running firmware versions below V4.0.1 store sensitive credentials and keys in a hard-coded, rec

CVE-2023-49251 HIGH
8.8 Jan 09

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V2.7). Rated high severity (CVSS 8.8), this vulne

CVE-2024-32742 HIGH
7.6 May 14

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V3.0). Rated high severity (CVSS 7.6), this vulne

CVE-2023-49252 HIGH
7.5 Jan 09

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V2.7). Rated high severity (CVSS 7.5), this vulne

CVE-2025-40940 MEDIUM
6.9 Dec 09

Inconsistent SNMP behavior in Siemens SIMATIC CN 4100 firmware versions below V4.0.1 lets an authenticated, highly privi

CVE-2025-40593 MEDIUM
6.5 Jul 08

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0). The affected application allows to control

CVE-2025-40941 MEDIUM
5.3 Dec 09

SIMATIC CN 4100 devices running firmware versions before V4.0.1 expose server information in their responses, enabling a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy