Regular expression backtracking in aMQTT broker blocks message delivery
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
aMQTT, an open source MQTT broker and client from Yakifo, is affected from 0.11.0 before 0.11.4. Subscription filters with malformed single-level + wildcards pass validation because substrings are checked instead of each slash-delimited level, and many adjacent + characters trigger catastrophic backtracking (CWE-1333) in the greedy regular expression used for matching. An anonymous remote attacker can send one subscription and one publish to block the broker event loop, stopping message delivery and new connections until restart. An authenticated client allowed to subscribe and publish can do the same when authentication is enabled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Yakifo | amqtt | 0.11.0 to before 0.11.4 | 0.11.4 | Patch available | CNA |
| — | amqtt (PyPI) | 0.11.0 to before 0.11.4 | 0.11.4 | Patch available | GHSA-2hjf-7455-w946 |
- amqtt VendorYakifo Affected 0.11.0 to before 0.11.4 Fixed in 0.11.4 Patch available CNA
- amqtt (PyPI) Vendor— Affected 0.11.0 to before 0.11.4 Fixed in 0.11.4 Patch available GHSA-2hjf-7455-w946
Remediation
Upgrade the amqtt package on PyPI and the Yakifo amqtt product to version 0.11.4, the fixed version. The sources list no fixed version for the Yakifo product beyond 0.11.4.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA amqtt (Yakifo) Fixed in 0.11.4
- Fix · GHSA-2hjf-7455-w946 amqtt (PyPI) Fixed in 0.11.4 Advisory →
Timeline
- 2026-11-19 Threatist record created from CVE-2026-104199
- 2026-11-20 Alias added: GHSA-2hjf-7455-w946
- 2026-11-20 Fix available: PyPI/[email protected] · GHSA-2hjf-7455-w946
- 2026-11-20 CVSS score added · GHSA-2hjf-7455-w946
- 2026-11-20 Weakness changed · GHSA-2hjf-7455-w946
- 2026-11-20 6 new references · GHSA-2hjf-7455-w946
- 2026-11-21 EPSS moved to the 50th–90th percentile
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
References
More Yakifo vulnerabilities
- TI-2026-95139 Denial of service via memory leak in aMQTT QoS 2 handshakes CVSS 3.1HIGH 7.5
Sources
- CVE-2026-104199 · CVE Program
- CVE-2026-104199 · NVD
- FIRST EPSS
- GHSA-2hjf-7455-w946 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences