CVE-2026-40851 Command injection via USB

High 8.4 Published Updated

A local attacker can execute arbitrary code via a crafted USB file, compromising industrial controllers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40851?

CVE-2026-40851 is a high-severity command injection vulnerability in Helmholz REX100, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A local attacker can perform a confusion attack on the cfgparser via a specially crafted file on an USB stick leading to code execution. This can result in a total loss of confidentiality, integrity and availability.

Weakness: CWE-1287

Which versions are affected by CVE-2026-40851?

How do I fix CVE-2026-40851?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-40851 being exploited?

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

Sources

Also known as GHSA-hcr2-wfhw-2h9m.

Is CVE-2026-40851 in your software?

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

Check your SBOMs for free