Public vulnerability disclosure

CVE-2026-104199

aMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation

publishedCWE-20CWE-400CWE-1333

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 severity8.7 highCVSS 4.0 · CNA: GitHub_M
Published2026-11-19Source updated 2026-11-24
Collected2026-11-245 attributed sources

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-w946

Fix

amqtt (PyPI): OSV reports a fixed version 0.11.4. Check the advisory for supported release branches.

Source: OSV GHSA-2hjf-7455-w946

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
amqtt
Yakifo
>= 0.11.0, < 0.11.4 (affected) CNA: GitHub_M
amqtt

amqtt
pip
>= 0.11.0, <= 0.11.3 (affected, GitHub advisory range) GitHub GHSA-2hjf-7455-w946
amqtt

amqtt
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)
[
  {
    "introduced": "0.11.0"
  },
  {
    "fixed": "0.11.4"
  }
]

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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
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:NCNA: 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:XNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide