CVE-2026-90938 PUBLISHED

LangBot through 0.4.17 Unauthenticated Plugin Registration via WebSocket

Assigner: VulnCheck
Reserved: 14.09.2026 Published: 14.09.2026 Updated: 14.09.2026

LangBot's plugin runtime (pip package langbot_plugin) through 0.4.17 starts a debug WebSocket server on 0.0.0.0:5401 (/plugin/ws) whose authentication is gated on plugin_debug_key, which defaults to an empty string and is never set by the upstream repository, Docker image, or docker-compose (which additionally publishes port 5401 to the host); the key check is therefore skipped entirely. Any remote attacker able to reach the port can register an arbitrary "debug plugin" without credentials. Because events are broadcast to all initialized plugins without filtering, the attacker's plugin receives the full context of every IM message event (including private chats, message chains, and user/sender IDs in plaintext) and can inject forged replies, send messages as any configured bot, enumerate bot UUIDs, invoke configured LLM models, read knowledge-base contents, and register malicious tools that feed every user's LLM pipeline. Registering with "prod_mode": true causes later legitimate installations of a plugin with the same author/name to be rejected, resulting in persistent denial of service. No patched version was available at the time of publication.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS Score: 8.8

Product Status

Vendor langbot-app
Product LangBot
Versions Default: unaffected
  • affected from 0 to 0.4.17 (incl.)

Credits

  • T4rnRookie reporter

References

Problem Types

  • Missing Authentication for Critical Function CWE