Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to broker (anonymous by default)
-
DeliverySend SUBSCRIBE with adjacent '+' wildcards
-
ExploitPublish partially-matching topic
-
ExecutionCatastrophic regex backtracking blocks event loop
-
ImpactBroker unavailable until restart
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Under the default configuration no special conditions apply - a remote, unauthenticated anonymous client can exploit affected versions 0.11.0 through 0.11.3 by sending one crafted SUBSCRIBE (a '/'-delimited level containing multiple adjacent '+' characters, e.g. '+/++++...') followed by one PUBLISH to a partially-matching topic. The only prerequisite is the ability to subscribe and then publish on the same broker. LIMITING FACTORS: when authentication is enabled, the attacker must be an authenticated client permitted to create arbitrary subscriptions and publish messages (the advisory states authentication alone is not sufficient mitigation); the broker must run a vulnerable version (fixed in 0.11.4); and if a persistent-session plugin is used, a malformed persisted filter survives restart and must be removed manually. |
| Impact | Signals align on a genuine, high-priority availability issue rather than an inflated CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates remote, low-complexity, unauthenticated exploitation, and the GHSA advisory plus the commit diff confirm the mechanism: broken single-level '+' wildcard validation in add_subscription() lets malformed filters reach _matches(), where re.fullmatch() over many adjacent [^/]* fragments causes catastrophic backtracking (ReDoS, CWE-1333/CWE-400) inside the synchronous _run_broadcast() loop, freezing the asyncio event loop. Impact is confined to availability (VA:H; VC:N/VI:N) - the advisory explicitly states no confidentiality or integrity impact and no RCE path because re.escape() blocks regex injection. The vuln.today decision label is 'this_week', consistent with an easy, high-impact remote DoS that nonetheless lacks confirmed active exploitation. CONFLICTING/MISSING SIGNALS: no EPSS score was provided and there is no CISA KEV listing, so exploitation probability cannot be quantified from the input. The input Tag 'Information Disclosure' directly contradicts the advisory, which identifies this as an availability-only denial of service - that tag should be disregarded. Priority is driven by trivial exploitability and complete broker outage, not by evidence of in-the-wild use. |
| Exploit ScenarioDerived | An attacker connects to the broker (anonymously under the default configuration, or as any authenticated client permitted to subscribe and publish when authentication is enabled) and sends one SUBSCRIBE packet with a malformed filter such as '+/' followed by roughly 60 '+' characters, which the broken validation wrongly accepts. The attacker then sends one PUBLISH to a partially-matching topic, forcing catastrophic regex backtracking inside the synchronous broadcast loop and hanging the broker. No standalone weaponized exploit tool is identified, but the fix commit includes a regression test that constructs the malicious filter and demonstrates the backtracking trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Remote denial of service in aMQTT 0.11.0 through 0.11.3 allows a single MQTT client to stall the entire broker by sending one crafted SUBSCRIBE carrying a filter with many adjacent '+' characters, followed by one PUBLISH to a topic that only partially matches that filter. The malformed filter slips past add_subscription()'s substring-based wildcard check and then drives catastrophic regular-expression backtracking inside _matches(), which runs synchronously on the broker's broadcast loop, so message delivery, keepalive handling, and new CONNACK responses all stop until the process is restarted. Under the default configuration the attack is unauthenticated (CVSS 3.1 AV:N/AC:L/PR:N/UI:N, availability-only); no public exploit code was identified at time of analysis, the issue is not confirmed as actively exploited, and the vendor-released fix is aMQTT 0.11.4.
RemediationAI
Vendor-released patch: upgrade to amqtt 0.11.4 (https://github.com/Yakifo/amqtt/releases/tag/v0.11.4), which validates topic filters level by level, requires any level containing '+' to be exactly '+', requires '#' to occupy an entire final level, and replaces the regex matcher with deterministic level-by-level matching; the change is visible in commit e48a8a65027667f936d415db7f01d3ac350104e0 and PR https://github.com/Yakifo/amqtt/pull/361. If immediate upgrade is not possible, the vendor's documented temporary mitigation is a topic-filtering plugin that rejects malformed wildcard subscriptions before they are added: place a class such as RejectInvalidTopicFilters (subclassing BaseTopicPlugin, implementing topic_filtering for Action.SUBSCRIBE and returning False when any level is not exactly '+', '#', or free of wildcard characters, and when '#' appears anywhere but the final level) in an importable Python module, enable it under 'plugins' in the broker configuration, and restart the broker; the trade-off is that this only protects subscription requests that actually pass through the plugin. If a persistent session plugin is in use, restarting the broker alone is not sufficient - any persisted sessions containing malformed topic filters must be removed manually. Restarting the broker restores availability after an attack but leaves the system vulnerable, and the advisory explicitly notes that enabling authentication is not a sufficient mitigation because any authenticated client allowed to create arbitrary subscriptions and publish can still trigger the freeze.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
aMQTT is a pure-Python MQTT 3.1.1 broker and client library distributed via pip. MQTT topic filters are '/'-delimited levels in which the single-level wildcard '+' must occupy an entire level (MQTT-4.7.1-3) and the multi-level wildcard '#' must occupy the final level alone (MQTT-4.7.1-2). The root cause class is CWE-20 improper input validation: add_subscription() tested for the literal substrings '/+' and '+/' rather than validating each level, so a filter such as '+/' followed by many '+' characters was accepted instead of being rejected with SUBACK return code 0x80. The second defect is a classic regular-expression denial of service (CWE-1333, within the broader CWE-400 uncontrolled resource consumption family): _matches() escaped the filter and then substituted every '+' with the greedy fragment '[^/]*' before calling re.fullmatch(), so a filter with dozens of adjacent '+' produced a chain of greedy quantifiers that backtracked exponentially against a topic that partially matches and ultimately fails. Because topic matching is executed synchronously inside _run_broadcast(), the backtracking pins the asyncio event loop and halts all broker work. The advisory confirms no regex injection path (re.escape() prevents it) and no confidentiality or integrity impact, which is consistent with the independently assessed availability-only vector; note that the upstream metadata tag for this record reads 'Information Disclosure', which does not reflect the actual availability-only impact described in the GHSA advisory. The upstream fix in commit e48a8a65027667f936d415db7f01d3ac350104e0 removes the regex matcher entirely and performs deterministic level-by-level comparison with per-level wildcard validation, meaning that merely tightening add_subscription() would be insufficient while the regex matcher remains reachable by another path.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote, low-complexity, unauthenticated trigger against the default config freezes the whole broker (A:H); no confidentiality or integrity impact and no scope change.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.11.4, add_subscription() in amqtt/broker.py accepts malformed single-level + wildcard placement because it checks substrings instead of validating each slash-delimited level. The _matches() function converts each + into a greedy regular-expression fragment and evaluates it with re.fullmatch(), allowing a filter containing many adjacent + characters to trigger catastrophic backtracking when compared with a topic that partially matches but ultimately fails. Because matching runs synchronously in _run_broadcast(), one subscription followed by a publish can block the broker event loop, stopping message delivery and new connection processing until restart. Anonymous clients can trigger the issue with the default configuration. Any authenticated client permitted to create arbitrary subscriptions and publish messages may still exploit it when authentication is enabled. This issue is fixed in version 0.11.4.
Technical POC Analysis
Two chained defects in amqtt/broker.py, both CWE-20 (Improper Input Validation), with the availability impact realised through CWE-1333 (Inefficient Regular Expression Complexity) and CWE-400 (Uncont…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in aMQTT versions 0.11.0 through 0.11.3 allows an unauthenticated remote attacker to freeze the MQTT broker with a single crafted message, halting all message delivery and connectivity for dependent systems. Leadership should care because this can cause immediate operational disruption, impacting IoT devices, industrial controls, or any service relying on the broker for real-time communication.
Apply vendor patch.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-130571
GHSA-2hjf-7455-w946
NVD
CVE.org
EPSS
Exploit-DB