{"answers":{"affected":"It affects 14 products.","exploited":"Yes. Attackers have exploited CVE-2024-40891 in the wild since at least 11 Feb 2025.","fix":"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.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-40891 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: Yes. Attackers have exploited CVE-2024-40891 in the wild since at least 11 Feb 2025.\n\nAffected product: Zyxel VMG4325-B10A firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-40891/ (Markdown: https://insights.sbomify.com/CVE-2024-40891/index.md)","id":"CVE-2024-40891","markdown":"https://insights.sbomify.com/CVE-2024-40891/index.md","name":"CVE-2024-40891","record":{"aliases":["GHSA-pm4h-579g-cgqq"],"analysis":{"component_type":"network_device","fix_type":"end_of_life","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Zyxel DSL CPE","requires_auth":"low_privilege","summary":"Authenticated attackers can execute OS commands on legacy Zyxel DSL CPE devices via Telnet management commands.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zyxel","cpe":[{"product":"sbg3300-n000_firmware","vendor":"zyxel"},{"product":"sbg3300-nb00_firmware","vendor":"zyxel"},{"product":"sbg3500-n000_firmware","vendor":"zyxel"},{"product":"sbg3500-nb00_firmware","vendor":"zyxel"},{"product":"vmg1312-b10a_firmware","vendor":"zyxel"},{"product":"vmg1312-b10b_firmware","vendor":"zyxel"},{"product":"vmg1312-b10e_firmware","vendor":"zyxel"},{"product":"vmg3312-b10a_firmware","vendor":"zyxel"},{"product":"vmg3313-b10a_firmware","vendor":"zyxel"},{"product":"vmg3926-b10b_firmware","vendor":"zyxel"},{"product":"vmg4325-b10a_firmware","vendor":"zyxel"},{"product":"vmg4380-b10a_firmware","vendor":"zyxel"},{"product":"vmg8324-b10a_firmware","vendor":"zyxel"},{"product":"vmg8924-b10a_firmware","vendor":"zyxel"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"**UNSUPPORTED WHEN ASSIGNED**\nA 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-08-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-13T19:47:46Z","kind":"github_poc","ref":"https://github.com/Danyw24/zyxel-p870hn-hardware-hacking","stars":0,"title":"From a bare PCB to root: hardware-hacking a ZyXEL P-870HN (BCM6368) over UART — CVE-2025-0890 + CVE-2024-40891, on my own hardware."}],"tier":"exploited"},"has_fix":null,"headline":"Zyxel DSL CPE OS Command Injection","id":"CVE-2024-40891","indexable":true,"kev":{"dateAdded":"2025-02-11","dueDate":"2025-03-04","knownRansomwareCampaignUse":"Unknown","product":"DSL CPE Devices","requiredAction":"The impacted product could be end-of-life (EoL) and/or end-of-service (EoS). Users should discontinue product utilization if a current mitigation is unavailable.","vendorProject":"Zyxel","vulnerabilityName":"Zyxel DSL CPE OS Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Firewalla BTLE Weak Credentials","id":"CVE-2024-40892"},"packages":[],"prev":{"headline":"Zyxel DSL CPE OS Command Injection","id":"CVE-2024-40890"},"products":["VMG4325-B10A firmware"],"published":"2025-02-04","related":[{"cvss_score":8.8,"headline":"Zyxel DSL CPE OS Command Injection","id":"CVE-2024-40890","kev_date_added":"2025-02-11","published":"2025-02-04"},{"cvss_score":9.8,"headline":"Hardcoded credentials in VMG4325-B10A firmware","id":"CVE-2025-0890","kev_date_added":null,"published":"2025-02-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Zyxel"]},"summary":"Authenticated attackers can execute OS commands on legacy Zyxel DSL CPE devices via Telnet management commands.","url":"https://insights.sbomify.com/CVE-2024-40891/"}