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.
Published: 2026-10-08
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: Boolean misinterpretation causing hosts to wrongly treat true, false, or null as the strings "true", "false", or "nil"
Action: Apply Workaround
AI Analysis

Impact

BeamMCP.Server incorrectly normalizes JSON boolean and null arguments to their string equivalents before dispatch. Because strings are truthy in Elixir, host logic that tests a boolean flag, such as if args.dry_run, will evaluate true when the client sends false, and vice‑versa. This misinterpretation can alter control flow, allowing a client to trigger the opposite branch of a conditional or to satisfy a guard that expects a false value. The practical impact is limited to hosts whose behavior differs between true and false, or to policy layers that accept false but reject true, and does not provide a pathway to code execution or privilege escalation.

Affected Systems

The vulnerability affects all ScriptKittyOS beam_mcp instances from version 0.1.0 up to but not including 0.10.1, as identified by the CNA. This includes all distributions of beam_mcp that have not received the fix present in 0.10.1 and newer.

Risk and Exploitability

The CVSS score of 2.3 indicates a low severity assessment. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. Because any client can send crafted JSON, the attack vector is remote, but the impact is confined to hosts that rely on strict boolean behavior. The potential for exploitation is low, and the correct solution is to patch or apply the provided workaround rather than to enact broader security controls.

Generated by OpenCVE AI on October 8, 2026 at 16:27 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Upgrade beam_mcp to version 0.10.1 or later, where the normalization bug has been fixed.
  • If upgrade is not immediately possible, modify the host's dispatch function to 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 when the schema allows null values.
  • Implement server‑side validation that ensures any boolean argument is either a true/false boolean or an acceptable null, rejecting or correctly mapping string equivalents before reaching critical logic.

Generated by OpenCVE AI on October 8, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 08 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title beam_mcp: JSON boolean and null tool arguments reach dispatch as strings
First Time appeared Scriptkittyos
Scriptkittyos beam Mcp
Weaknesses CWE-704
CPEs cpe:2.3:a:scriptkittyos:beam_mcp:*:*:*:*:*:*:*:*
Vendors & Products Scriptkittyos
Scriptkittyos beam Mcp
References
Metrics cvssV4_0

{'score': 2.3, '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'}


Subscriptions

Scriptkittyos Beam Mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-10-08T13:58:34.464Z

Reserved: 2026-10-04T16:00:02.420Z

Link: CVE-2026-104634

cve-icon Vulnrichment

Updated: 2026-10-08T13:58:30.629Z

cve-icon NVD

Status : Received

Published: 2026-10-08T14:16:46.370

Modified: 2026-10-08T14:16:46.370

Link: CVE-2026-104634

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T16:30:05Z

Weaknesses
  • CWE-704

    Incorrect Type Conversion or Cast