CVE-2024-40891 Zyxel DSL CPE OS Command Injection

Exploited in the wild High 8.8 Published Updated

Authenticated attackers can execute OS commands on legacy Zyxel DSL CPE devices via Telnet management commands.

Exploited in the wild
Since 11 Feb 2025
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-40891?

CVE-2024-40891 is a high-severity command injection vulnerability in Zyxel VMG4325-B10A firmware, published on 4 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

**UNSUPPORTED WHEN ASSIGNED** A post-authentication command injection vulnerability in the management commands of the legacy DSL CPE Zyxel VMG4325-B10A firmware version 1.00(AAFR.4)C0_20170615 could allow an authenticated attacker to execute operating system (OS) commands on an affected device via Telnet.

Weakness: CWE-78

Which versions are affected by CVE-2024-40891?

It affects 14 products.

Products include Zyxel Sbg3300-N000 Firmware, Zyxel Sbg3300-Nb00 Firmware, Zyxel Sbg3500-N000 Firmware, Zyxel Sbg3500-Nb00 Firmware, Zyxel Vmg1312-B10a Firmware, Zyxel Vmg1312-B10b Firmware and 8 more.

How do I fix CVE-2024-40891?

No fix has been published for CVE-2024-40891 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 4 Mar 2025.

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

Is CVE-2024-40891 being exploited?

Yes. Attackers have exploited CVE-2024-40891 in the wild since at least 11 Feb 2025.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-pm4h-579g-cgqq.

Is CVE-2024-40891 in your software?

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

Check your SBOMs for free