Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-40891: Authenticated Telnet Command Injection in Zyxel CPE

Published Feb 4, 2025 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS22.7%98th percentile
CISA KEVYesAdded Feb 11, 2025
In the wildActivePer CISA KEV
Vendor
Zyxel Communications
IdentifiersCVE-2024-40891CWE-78 · Improper Neutralization of Special…

CVE-2024-40891 is a post-authentication operating system command injection vulnerability in the Telnet management commands of legacy Zyxel DSL customer premises equipment, including the VMG4325-B10A running firmware 1.00(AAFR.4)C0_20170615. An authenticated attacker can submit crafted management commands to execute arbitrary OS commands on an affected device. The affected products were unsupported when the vulnerability was assigned.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can result in complete device compromise, potentially enabling data exfiltration and further intrusion into connected networks. Active exploitation by Mirai-based botnet variants has been reported.

Mitigation

If you can’t patch tonight, do this now.

Until replacement, restrict administrative access, particularly Telnet, to trusted management hosts or networks and prevent direct internet exposure. Disable Telnet management where operationally feasible. Increase monitoring of Telnet authentication and management traffic for command-injection attempts and signs of compromise.

Remediation

Patch, then assume compromise.

Replace affected end-of-life Zyxel CPE devices with supported products. No patch is identified for the affected legacy devices, and Zyxel is not expected to provide one because they have reached end-of-life.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2024-40891The repository contains a standalone Python client and a deliberately vulnerable Python HTTP service, supported by a Dockerfile, Docker Compose configuration, README, MIT license, and .gitignore. It presents itself as a laboratory for CVE-2024-40891 affecting Zyxel VMG4325-B10A, but supplies no actual firmware or evidence that its synthetic HTTP endpoints reproduce the real product's vulnerability. poc/poc.py logs in with hardcoded admin/admin credentials, captures a cookie, and posts a semicolon-separated marker-creation payload to /cgi-bin/login_cmd. mock/mock.py accepts any login submission, checks only for the literal cookie token=lab, and passes the cmd value into a shell using subprocess.run(shell=True). This executes the supplied commands with a five-second timeout while discarding their output. The client subsequently queries /__lab_status to infer success from the marker filename. The demonstration genuinely executes commands against the mock and is not merely a detector. Verification has limitations: the status endpoint only lists filenames beginning with cve-2024-40891, so arbitrary custom markers can produce false negatives; existing marker files can produce false positives. The status endpoint is laboratory-specific and is not evidence of successful exploitation on real hardware. The container runs as an unprivileged user with all capabilities dropped and no-new-privileges enabled. Host exposure is restricted to loopback, but networking is not disabled despite the mock's description. Dockerfile EXPOSE specifies 8097, whereas the server and Compose mapping use 8197; this metadata mismatch does not prevent the explicit mapping from working. No malicious download, command-and-control endpoint, or exfiltration behavior appears. Repository URL, revision, and archive size were not supplied; empty strings and zero represent unavailable metadata.krevetkqqq · Disclosed Oct 30, 2026 · python · network · webOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Zyxel CommunicationsSbg3300-N000 Firmwareoperating_system
Zyxel CommunicationsSbg3300-Nb00 Firmwareoperating_system
Zyxel CommunicationsSbg3500-N000 Firmwareoperating_system
Zyxel CommunicationsSbg3500-Nb00 Firmwareoperating_system
Zyxel CommunicationsVmg1312-B10a Firmwareoperating_system
Zyxel CommunicationsVmg1312-B10b Firmwareoperating_system
Zyxel CommunicationsVmg1312-B10e Firmwareoperating_system
Zyxel CommunicationsVmg3312-B10a Firmwareoperating_system
Zyxel CommunicationsVmg3313-B10a Firmwareoperating_system
Zyxel CommunicationsVmg3926-B10b Firmwareoperating_system
Zyxel CommunicationsVmg4325-B10a Firmwareoperating_system
Zyxel CommunicationsVmg4380-B10a Firmwareoperating_system
Zyxel CommunicationsVmg8324-B10a Firmwareoperating_system
Zyxel CommunicationsVmg8924-B10a Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2024-40891 exploited in the wild?
Yes. As of Nov 17, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 11, 2025.
Is there a public exploit for CVE-2024-40891?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-40891, the earliest disclosed Oct 30, 2026.
Is there a patch for CVE-2024-40891?
Replace affected end-of-life Zyxel CPE devices with supported products. No patch is identified for the affected legacy devices, and Zyxel is not expected to provide one because they have reached end-of-life.
What products are affected by CVE-2024-40891?
Zyxel Communications Sbg3300-N000 Firmware, Zyxel Communications Sbg3300-Nb00 Firmware, Zyxel Communications Sbg3500-N000 Firmware, Zyxel Communications Sbg3500-Nb00 Firmware, Zyxel Communications Vmg1312-B10a Firmware, and 9 more.
How severe is CVE-2024-40891?
CVE-2024-40891 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 22.7% (98th percentile) as of Nov 17, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures4YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.