CVE-2026-104199
aMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation
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.
Fixes and workarounds
Fix
amqtt (pip): GitHub reports patched versions >=0.11.4. Check the advisory for the affected release branch.
Source: GitHub GHSA-2hjf-7455-w946Fix
amqtt (PyPI): OSV reports a fixed version 0.11.4. Check the advisory for supported release branches.
Source: OSV GHSA-2hjf-7455-w946Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| amqtt Yakifo |
>= 0.11.0, < 0.11.4 (affected) | CNA: GitHub_M |
amqttamqtt
pip |
>= 0.11.0, <= 0.11.3 (affected, GitHub advisory range) | GitHub GHSA-2hjf-7455-w946 |
amqttamqtt
PyPI |
0.11.0 (affected, PyPI) 0.11.1 (affected, PyPI) 0.11.2 (affected, PyPI) 0.11.3 (affected, PyPI) Ecosystem version events: introduced 0.11.0; fixed 0.11.4 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-2hjf-7455-w946 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 8.7 high |
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 | CNA: GitHub_M |
| 4.0 / 8.7 high |
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/Yakifo/amqtt/pull/361CNA: GitHub_M · x_refsource_MISC
- https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0CNA: GitHub_M · x_refsource_MISC
- https://github.com/Yakifo/amqtt/releases/tag/v0.11.4CNA: GitHub_M · x_refsource_MISC
- https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0[email protected]
- https://github.com/Yakifo/amqtt/pull/361[email protected]
- https://github.com/Yakifo/amqtt/releases/tag/v0.11.4[email protected]
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946[email protected]
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946GitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-2hjf-7455-w946OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-2hjf-7455-w946OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.