{"id":"CVE-2026-104634","published":"2026-10-08T13:41:05Z","modified":"2026-11-19T08:22:10Z","title":"beam_mcp: JSON boolean and null tool arguments reach dispatch as strings","vendor":"ScriptKittyOS","product":"beam_mcp","tier":"tail","description":{"text":"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.\n\nThe 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.\n\nThis issue affects beam_mcp: from 0.1.0 before 0.10.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.32395,"provenance":"source"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"references":[{"url":"https://github.com/ScriptKittyOS/beam_mcp/security/advisories/GHSA-wv7p-j6qh-3hj4","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-104634.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-104634","tags":["related"]},{"url":"https://github.com/ScriptKittyOS/beam_mcp/commit/083838eb8e17fe5f6fcaf761bdbe203110288b0b","tags":["related"]},{"url":"https://github.com/ScriptKittyOS/beam_mcp/commit/289dbdbad641943b29a3b8d1eb36506cc8cec10a","tags":["patch"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"scriptkittyos","affectedVersions":[{"vendor":"ScriptKittyOS","product":"beam_mcp","versions":[">= 0.1.0, < 0.10.1"]},{"vendor":"ScriptKittyOS","product":"beam_mcp","versions":[">= 083838eb8e17fe5f6fcaf761bdbe203110288b0b, < 289dbdbad641943b29a3b8d1eb36506cc8cec10a"]}],"workarounds":{"items":["In the host's dispatch function, compare boolean arguments against both forms, for example args.flag in [true, \"true\"] and args.flag in [false, \"false\"], and treat the string \"nil\" as null where the schema admits null."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-153","name":"A host that branches on a boolean argument takes the opposite branch for false, so a safety guard such as confirm: false or dry_run: false is read as set. The client already controls the argument, so the gain over sending true is limited to hosts and intermediaries that treat the two values differently."}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T13:58:26.222349Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-94981","exploited":false,"provenance":"source"}}