CVE-2025-40937CWE-77command-injection

CVE-2025-40937

High · published December 9, 2025

CVSS v3.1
8.3
EPSS
1%
Percentile
47.3
In the wild
Unconfirmed
What it is

⚡ An authenticated attacker can exploit a REST API vulnerability to execute arbitrary code with limited privileges in SIMATIC CN 4100 versions before 4.0.1! 🔥 Think of this like a restaurant where an employee can make changes to the menu without proper oversight — if the chef doesn’t validate the requests, things could get messy! This flaw is no small issue. An attacker could manipulate the API, gaining unauthorized access and executing code that could change system behavior or compromise sensitive data. It's like letting someone rearrange the kitchen without checking their credentials; it could lead to chaos!

Put simply

Think of this like a restaurant where an employee can make changes to the menu without proper oversight — if the chef doesn’t validate the requests, things could get messy! This vulnerability arises because the application does not sufficiently validate input parameters in its REST API, allowing attackers to send unexpected arguments and execute arbitrary commands with limited privileges.

What to do

This flaw is no small issue. An attacker could manipulate the API, gaining unauthorized access and executing code that could change system behavior or compromise sensitive data. It's like letting someone rearrange the kitchen without checking their credentials; it could lead to chaos! Patch to version 4.0.1 or later immediately to address this vulnerability. Additionally, review your API security practices to ensure proper validation of all input parameters. Regular security audits can help catch similar vulnerabilities in the future. You’ve got this! By taking these actions, you’ll strengthen your defenses and maintain security hero status! 🛡️

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00586 · 47.3th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-12-09T21:17Z
Affected products (1)
ProductVersionsFixed in
siemens/simatic_cn_4100_firmware< 4.0.14.0.1
References (1)
EPSS history
Timeline
  • 09 DEC 10:44Z
    A vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0.1)
    cvelistv5