Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credential or plugin-install API key
-
DeliveryIdentify stale emqx ctl plugins allow grant
-
ExploitCraft malicious Erlang OTP .tar.gz with permitted name/version
-
ExecutionPOST archive to /api/v5/plugins/install
-
PersistBroker validates name match, skips hash/TTL check
-
ImpactInstall and start attacker-controlled Erlang code as EMQX process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires two specific, concurrent prerequisites. First, the attacker must possess a compromised dashboard administrator credential or an API key explicitly granted plugin-install permission - this is a PR:H condition reflecting a substantial prior compromise of the management plane. Second, a stale installation grant must exist in the broker: an |
| Impact | The vendor-assigned CVSS 3.1 score of 6.6 (Medium) accurately reflects the significant exploitation prerequisites. The AV:N metric is correct - the install endpoint is network-accessible - but AC:H captures the requirement that a stale grant must already exist in the system, which depends on an administrative workflow that issued a permit without completing the installation. PR:H is well-justified: the attacker must already control a dashboard admin credential or a plugin-install-scoped API key, representing a substantial prior compromise. Despite the constrained conditions, the CIA impact is correctly rated High across all three dimensions, since successful exploitation yields arbitrary Erlang code execution as the EMQX process, affording complete control over the broker. No EPSS score was provided in the input data, so exploitation probability cannot be quantified numerically. The absence of a CISA KEV entry and lack of any identified POC suggest this is not being actively exploited at scale. Real-world risk is highest for organizations that issue plugin allow-grants as part of staged deployment workflows, where grants may sit unused for extended periods, and where API keys are broadly distributed among operators. |
| Exploit ScenarioDerived | An attacker who has obtained a dashboard administrator password or a plugin-install-scoped API key (via phishing, credential stuffing, or insider access) discovers that a prior |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Remote code execution in EMQX's plugin installation API allows an attacker who has obtained a compromised dashboard administrator credential or plugin-install-capable API key to upload and execute arbitrary Erlang code with full EMQX process privileges. Prior to versions 5.8.11, 5.9.3, 5.10.4, 6.0.3, 6.1.2, and 6.2.1, installation grants issued via emqx ctl plugins allow had no expiration and no cryptographic binding to specific package bytes, meaning a stale permit could be reused with attacker-controlled .tar.gz content submitted to POST /api/v5/plugins/install. No public exploit has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upgrade EMQX to a patched release: 5.8.11, 5.9.3, 5.10.4, 6.0.3, 6.1.2, or 6.2.1, available at the EMQX GitHub releases page (https://github.com/emqx/emqx/releases). After upgrading, use the updated CLI syntax emqx ctl plugins allow Name-Vsn sha256:HEX to bind installation grants to specific package hashes, which prevents substitution of different payloads under a permitted name. As compensating controls for environments that cannot immediately patch: restrict network access to POST /api/v5/plugins/install and the dashboard plugin upload interface at the reverse-proxy or firewall layer to trusted administrator source IPs only - this limits the attack surface to already-privileged hosts. Audit and revoke any API keys with plugin-install permission that may be broadly distributed or potentially exposed; rotate credentials for all dashboard administrator accounts. Note that network-layer restriction does not eliminate the vulnerability if the attacker already has access from an allowed host, so patching remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
EMQX is an Erlang/OTP-based MQTT broker widely used for IoT, IIoT, and AI-connected vehicle workloads. Its plugin subsystem supports dynamic loading of Erlang OTP applications via a REST API endpoint (POST /api/v5/plugins/install) and a dashboard upload interface. The pre-authorization workflow requires an administrator to issue emqx ctl plugins allow <Name-Vsn> before a plugin can be installed. The vulnerability is classified as CWE-345 (Insufficient Verification of Data Authenticity): the allow-grant had no TTL and no hash binding, so any previously issued permit remained valid indefinitely and accepted any payload under the permitted filename. The PR #17200 diff confirms the fix adds a five-minute TTL constant (?ALLOW_TTL_MS, timer:minutes(5)) and changes the verification signature from is_allowed_installation/1 to is_allowed_installation/2, passing the uploaded binary for SHA-256 comparison. The CLI was extended to support emqx ctl plugins allow Name-Vsn sha256:HEX, binding the grant to specific package bytes. CPE cpe:2.3:a:emqx:emqx:*:*:*:*:*:*:*:* spans all versions across affected release branches.
Know when Emqx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-accessible endpoint requires prior admin credential compromise (PR:H) and a stale grant to exist (AC:H); successful exploitation yields full Erlang code execution as the EMQX process (C:H/I:H/A:H) with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
EMQX is a scalable and reliable MQTT broker for AI, IoT, IIoT, and connected vehicles. Prior to versions 5.8.11, 5.9.3, 5.10.4, 6.0.3, 6.1.2, and 6.2.1, the plugin-install REST API and dashboard upload accepted stale grants created with emqx ctl plugins allow because there was no five-minute grant lifetime or SHA-256 package binding. An attacker with a compromised dashboard administrator credential or API key with plugin-install permission who finds a stale allowed name and version can upload attacker-controlled bytes under the allowed .tar.gz filename through POST /api/v5/plugins/install or the dashboard plugin upload. The broker then installs and runs attacker-controlled Erlang code with the privileges of the EMQX process. This issue is fixed in versions 5.8.11, 5.9.3, 5.10.4, 6.0.3, 6.1.2, and 6.2.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NanoMQ 0.17.5 has a one-byte heap-based buffer over-read in the conn_handler function of mqtt_parser.c when it processes
CVE-2024-42646 is a segmentation fault vulnerability in NanoMQ v0.21.10 that allows unauthenticated remote attackers to
Null Pointer Dereference vulnerability in topic_filtern function in mqtt_parser.c in NanoMQ 0.21.7 allows attackers to c
A use-after-free vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remotely e
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
In NanoMQ v0.15.0-0, segment fault with Null Pointer Dereference occurs in the process of decoding subinfo_decode and un
In NanoMQ v0.15.0-0, a Heap overflow occurs in copyn_utf8_str function of mqtt_parser.c. Rated high severity (CVSS 7.5),
In NanoMQ v0.15.0-0, Heap overflow occurs in read_byte function of mqtt_code.c. Rated high severity (CVSS 7.5), this vul
A heap-buffer-overflow vulnerability in the read_byte function in NanoMQ v.0.21.7 allows attackers to cause a denial of
NanoMQ v0.22.10 was discovered to contain a memory leak which allows attackers to cause a Denial of Service (DoS) via a
EUVD-2026-63381
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB