CVE-2025-40938 Hardcoded credentials in SIMATIC CN 4100

Critical 9.2 Published Updated

Attackers can extract sensitive information from the firmware of SIMATIC CN 4100 devices, compromising confidentiality, integrity, and availability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-40938?

CVE-2025-40938 is a critical vulnerability in Siemens SIMATIC CN 4100, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0.1). The affected device stores sensitive information in the firmware. This could allow an attacker to access and misuse this information, potentially impacting the device’s confidentiality, integrity, and availability.

Weakness: CWE-798

Which versions are affected by CVE-2025-40938?

It affects 1 product.

Products include Siemens Simatic Cn 4100 Firmware.

How do I fix CVE-2025-40938?

No fix has been published for CVE-2025-40938 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-40938 being exploited?

There is no known exploitation of CVE-2025-40938 in the wild and no public exploit code.

Sources

Also known as GHSA-6wrx-4m6w-9vw2.

Is CVE-2025-40938 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free