CVE-2025-27397 Path traversal in SCALANCE LPE9403

Medium 5.1 Published Updated

An authenticated privileged attacker can read and write arbitrary files on Siemens SCALANCE LPE9403 devices via path traversal in log handling.

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

What is CVE-2025-27397?

CVE-2025-27397 is a medium-severity path traversal vulnerability in Siemens SCALANCE LPE9403, published on 11 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been identified in SCALANCE LPE9403 (6GK5998-3GS00-2AC2) (All versions < V4.0). Affected devices do not properly limit user controlled paths to which logs are written and from where they are read. This could allow an authenticated highly-privileged remote attacker to read and write arbitrary files in the filesystem, if and only if the malicious path ends with 'log' .

Weakness: CWE-22

Which versions are affected by CVE-2025-27397?

It affects 1 product.

Products include Siemens Scalance Lpe9403 Firmware.

How do I fix CVE-2025-27397?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-27397 being exploited?

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

Sources

Also known as GHSA-gqcm-6vpg-xm6w.

Is CVE-2025-27397 in your software?

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

Check your SBOMs for free