CVE-2026-40456 OS Command Injection in LMS

High 8.6 Published Updated

Attackers can execute arbitrary OS commands via an unvalidated IP address parameter in LMS, requiring a patch to mitigate.

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

What is CVE-2026-40456?

CVE-2026-40456 is a high-severity command injection vulnerability in LMS, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An OS Command Injection vulnerability exists in LMS (LAN Management System) before commit 9fcb4de due to an IP address parameter being passed to the "exec()" function without proper validation, allowing attackers to execute arbitrary operating system commands.

Weakness: CWE-78

Which versions are affected by CVE-2026-40456?

How do I fix CVE-2026-40456?

No fix has been published for CVE-2026-40456 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-40456 being exploited?

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

Sources

Also known as GHSA-765c-7qf8-cw9w.

Is CVE-2026-40456 in your software?

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

Check your SBOMs for free