GPU VulnDB

Database/AI/ML frameworks & serving

LangBot: debug WebSocket on 0.0.0.0:5401 accepts plugin registration with no key set

CVSS 8.8CVE-2026-90938AI/ML frameworks & servingcurated

Impact

The plugin runtime opens a debug WebSocket on all interfaces at port 5401 and gates it on plugin_debug_key, which defaults to empty and is never set by the upstream repo, the Docker image or docker-compose - and that compose file publishes 5401 to the host. With an empty key the check is skipped, so anyone who can reach the port registers a plugin without credentials. Events are broadcast to every initialized plugin unfiltered, so the attacker's plugin sees the full text of every IM message the deployment handles, including private chats and sender identities, and can send messages as any configured bot, enumerate bot UUIDs, invoke the configured LLM models, read knowledge-base contents, and register tools that are injected into every user's LLM pipeline. Registering with prod_mode: true permanently blocks later legitimate installs of a plugin with the same author and name, a persistent denial of service. On a fleet, the model-invocation path means an unauthenticated party can burn GPU capacity and exfiltrate whatever the knowledge base holds.

Who can reach it

Any attacker who can reach TCP 5401 on the LangBot host - the internet if the published Docker port is not firewalled, otherwise any workload on the same network. No authentication or user interaction required.

What to do

No patched version existed at publication (affects through 0.4.17), so this is mitigate-only: block or unpublish port 5401 (remove the host port mapping from docker-compose, bind to 127.0.0.1, or firewall it), set a non-empty plugin_debug_key, and restart the service. Treat handled conversations, bot credentials and knowledge-base contents as potentially exposed if the port was reachable. Track the upstream advisory for a fixed release.

References

Related entries

All AI/ML frameworks & serving entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.