# CVE-2026-104634: beam_mcp: JSON boolean and null tool arguments reach dispatch as strings

> Incorrect type conversion allows boolean arguments to be treated as strings, potentially bypassing security checks in MCP server implementations.

- **Severity:** Low 2.3 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 8 Oct 2026
- **Updated:** 8 Oct 2026
- **Also known as:** EEF-CVE-2026-104634, GHSA-rcm8-2hxq-3q25, GHSA-wv7p-j6qh-3hj4

## What is CVE-2026-104634?

CVE-2026-104634 is a low-severity vulnerability in ScriptKittyOS beam_mcp, published on 8 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-704 (Incorrect Type Conversion or Cast)

## Which versions are affected by CVE-2026-104634?

1 open source package ship an affected version, including beam_mcp.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `beam_mcp` | Hex | From 0.1.0 | 0.10.1 |

## How do I fix CVE-2026-104634?

Upgrade beam_mcp to 0.10.1 or later.

## Is CVE-2026-104634 being exploited?

There is no known exploitation of CVE-2026-104634 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-104634 and fix it if it is affected.

What it is: CVE-2026-104634 is a low-severity vulnerability in ScriptKittyOS beam_mcp, published on 8 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-104634 in the wild and no public exploit code.

Affected packages and fixed versions:
- beam_mcp (Hex): affected from 0.1.0; fixed in 0.10.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-104634/ (Markdown: https://insights.sbomify.com/CVE-2026-104634/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-104634
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-104634
- OSV: https://osv.dev/vulnerability/CVE-2026-104634

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-104634/
Summaries are generated and may contain mistakes; the official description above is the record.
