· via dev.to (home feed)
better-chatbot flaw let injected content trigger tool calls despite manual confirmation mode
A prompt-injection flaw in better-chatbot before 2.0.0 kept tool execute handlers live in Manual mode, so injected documents could fire the HTTP request tool and exfiltrate conversation data. Fixed in version 2.0.0.

Manual tool mode failed to block execution in better-chatbot
A prompt-injection vulnerability in better-chatbot let hidden instructions inside documents and web pages trigger tool calls even when the app was configured to require human approval for every execution. According to a dev.to writeup citing the vendor advisory, releases before 2.0.0 left the execution handlers for built-in tools attached while Manual tool mode was switched on. The issue is tracked as CVE-2026-134755, with a matching advisory under GHSA-7jvq-8frj-xgfc, and the fix arrives in version 2.0.0.
How the bypass worked
Manual mode is meant to work as a checkpoint: the assistant proposes a tool call, the user reviews it, and the tool runs only after approval. That arrangement holds only if the application truly separates proposing an action from performing it. In the affected releases the flaw lived in the chat route, where a setting in the user interface was supposed to keep tools from running automatically. Because the execute handler stayed wired to the tool, a prompt injected into content the assistant processed could cross the gap without waiting for the intended confirmation.
The advisory lays out one concrete path: the HTTP request tool can be steered toward a destination controlled by the attacker, carrying conversation text, surrounding context, or other data the tool has access to — in effect, an exfiltration channel aimed by whoever planted the injected content.
Severity, with caveats
The advisory characterizes the attack as network-based, with high complexity, no privileges required, and only passive interaction from the user. Those qualifiers matter. An attacker still has to place content where the assistant will ingest it, and the HTTP tool has to be genuinely useful for exfiltration in that deployment. As the source is careful to note, the vulnerability does not prove that every installation leaks valuable data; it demonstrates that a local safety control could be defeated through model input alone.
What operators should do
Upgrading comes first, and the writeup pairs it with a broader deployment review:
- Find every image, container, and hosted instance still on a release before 2.0.0, and confirm the actual application version rather than trusting deployment labels or container names. Record the upgrade time so logs from before and after can be compared.
- Audit tool policy. Enumerate each built-in tool that can reach the network, read files, execute code, or change state, and check that Manual mode blocks execution at the server boundary instead of depending on the browser merely hiding or disabling the button. A harmless staging prompt can reveal whether the server runs a request before approval.
- Add egress controls as a second barrier. If a deployment needs only a known set of APIs, the HTTP request tool should not reach arbitrary destinations: restrict targets, block link-local and metadata addresses, log each requested host with the response status and bytes transferred, and route tool traffic through an authenticated proxy where sensitivity demands it.
- Review conversation logs on the assumption that injected content and model output are untrusted. Correlate HTTP tool events with user sessions, source URLs, and the version that handled them, watching for unfamiliar hosts, encoded query strings, and document text showing up in outbound bodies.
Why it matters
A confirmation dialog is only a security boundary if the server enforces it; a disabled button in a browser is an interface affordance, not a control. better-chatbot's Manual mode is a clean illustration of what happens when those two are confused. The wider lesson applies to any assistant that mixes user instructions with retrieved documents and pages in a single context: those pages are inputs that can carry tool requests the user never intended. The application, not the interface, has to decide whether a tool is permitted for the task, whether a request fits its data scope, and whether an approval is real. CVE-2026-134755 shows that contract breaking, and version 2.0.0 puts it back in place.
- #security
- #prompt-injection
- #vulnerability
- #llm
- #chatbot