CVE-2026-104634
beam_mcp: JSON boolean and null tool arguments reach dispatch as strings
- State
- Published
- Severity
- 2.3 Low
- Published
- Oct 8, 2026
- Updated
- Oct 8, 2026
- Reserved
- Oct 4, 2026
Description
Incorrect Type Conversion or Cast vulnerability in BeamMCP.Server in ScriptKittyOS beam_mcp allows an MCP client's JSON true, false and null tool arguments to reach the host's dispatch function as the strings "true", "false" and "nil". After BeamMCP.Schema.validate/2 accepted a value as a boolean, normalize_arguments/2 passed every argument through to_json_value/1, whose atom clause converts true, false and nil to strings. A string is truthy in Elixir, so a host that tests a boolean argument, for example if args.dry_run, takes the opposite branch for false, and a guard such as confirm: false reads as set.
The client controls the argument and could send true directly, so the practical impact is limited to hosts whose behaviour on false differs from their behaviour on true, and to any policy layer in front of the server that permits false but refuses true. The same normalisation applies to prompts/get arguments, which exist from 0.5.0.
This issue affects beam_mcp: from 0.1.0 before 0.10.1.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | EEF |
Weaknesses
- CWE-704 Incorrect Type Conversion or Cast
Affected Products
| Product | Versions |
|---|---|
beam_mcpScriptKittyOS |
|
beam_mcpScriptKittyOS |
|
References
- GitHub Advisoryrelatedvendor-advisory
- EEF CNA record for CVE-2026-104634related
- OSV record EEF-CVE-2026-104634related
- Introducing commit 083838e in ScriptKittyOS/beam_mcprelated
- Fix commit 289dbdb in ScriptKittyOS/beam_mcppatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.