AgentbeamBeta
AI agent vulnerability · Other MCP servers and tools

CVE-2026-76818: Axon: Download of Code Without Integrity Check in axon-mcp

highCVSS 3.1 7.5GHSA-r7wg-f7r2-8wf7

axon-mcp 0.1.0 and earlier downloads the rtkx binary from GitHub releases and runs it without any checksum or signature check. If the sammyjdev/rtkx release pipeline or a maintainer token were compromised, axon users would run an attacker's binary. Our data records no patched version.

Published Nov 19, 2026 · Analysis Nov 19, 2026

What an attacker can do

In src/axon/context/rtk_bootstrap.py, _http_download() fetches the release archive over HTTPS and writes it to disk. _extract_binary() unpacks it and sets the executable bit. Nothing compares a hash, signature or attestation (CWE-494). The binary lives at ~/.axon/bin/rtkx, and compress_text_with_rtk() in rtk.py runs it with subprocess.run on every text-compression call.

This is a missing control, not an active exploit. An attacker first needs to compromise the rtkx release pipeline or a maintainer's release credentials, or sit on the network path with a forged certificate. Then every user who runs axon rtk-install or triggers auto-bootstrap downloads the binary and runs it with the privileges of the axon process, usually the developer's own account. That means access to source, SSH keys and cloud credentials. The high complexity in the vector reflects the precondition.

Who is affected

axon-mcp 0.1.0 and earlier, for users who run axon rtk-install or let auto-bootstrap fetch rtkx. Check:

pip show axon-mcp

Also check whether ~/.axon/bin/rtkx exists.

axon-mcp

Ecosystem
PyPI
Affected
<= 0.1.0
Fixed in
No patched version yet
Check
pip show axon-mcp

How to fix it

Our data lists no patched version for axon-mcp. The GitHub advisory page shows 0.1.1 as patched under the package name axon-context-mcp, which differs from the name here, and it does not say what 0.1.1 changed. Check both names on PyPI before relying on it. Related fix pull requests are in the sammyjdev/rtkx repository and axon commits are linked from the advisory. Until integrity checks are confirmed, avoid rtk-install and auto-bootstrap, or verify the rtkx binary yourself against a checksum you trust.

How to tell if you were hit

Check ~/.axon/bin/rtkx: when it was written, and its hash against the one in the official rtkx release. Look for unexpected outbound connections or child processes spawned by the axon process. Beam records agent shell commands and MCP tool calls, so it can show when axon runs an unfamiliar binary.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

axon rtk-install downloads a pre-built rtkx binary from GitHub releases and executes it via subprocess.run() on every text-compression call, without verifying its integrity — no checksum, signature, or attestation check anywhere in the download/install path. If the release pipeline or a maintainer token for sammyjdev/rtkx were ever compromised, every axon user who installs or auto-bootstraps rtkx would silently download and execute an unverified binary with the same privileges as the axon process.

Details

The download path lives in src/axon/context/rtk_bootstrap.py:

  • _http_download() fetches the release archive over HTTPS via urllib.request.urlopen() and writes the raw response bytes to disk — no hash comparison against any published value.
  • _extract_binary() unpacks the archive (zip/tar.gz) and sets the executable bit (out.chmod(... S_IXUSR | S_IXGRP | S_IXOTH)), again with no verification step.
  • There is no reference to checksum, sha256, verify, signature, gpg, cosign, or sigstore anywhere in this file.

The binary is not dead code — it's on the active execution path. src/axon/context/rtk.py::rtk_binary_path() resolves to the bootstrapped binary at ~/.axon/bin/rtkx, and compress_text_with_rtk() invokes it directly:

result = subprocess.run( [path, "read", str(tmp_path)], capture_output=True, text=True, timeout=timeout_seconds, )

PoC

This is a missing-control finding rather than an active exploit, so reproduction is by code audit rather than a live payload:

Clone sammyjdev/axon and open src/axon/context/rtk_bootstrap.py. Confirm _http_download() and _extract_binary() perform no hash/signature check before chmod +x. Trace the call chain: bootstrap_rtkx() → _http_download() → _extract_binary() → rtk_binary_path() (in rtk.py) → subprocess.run() in compress_text_with_rtk(). Optionally demonstrate impact safely: point download_url() / the download callable (already injectable per the module's own docstring, "the download step is injectable so the extraction logic is testable offline") at a local HTTP server serving an attacker-controlled archive, and confirm it gets extracted, chmod +x'd, and executed with no rejection.

Impact

Type: CWE-494 (Download of Code Without Integrity Check), leading to potential arbitrary code execution. Who's affected: Any axon user who runs axon rtk-install or triggers auto-bootstrap, if sammyjdev/rtkx's release pipeline or a maintainer's release credentials are ever compromised. Not exploitable today without that precondition, but the missing control removes the last line of defense against a supply-chain compromise of the binary dependency.

Credited to 0xMayhara.

Questions

Is CVE-2026-76818 exploitable today?

Not on its own. The advisory says it needs a prior compromise of the rtkx release pipeline or a maintainer's release credentials.

Is there a patched axon-mcp?

Our data records none. The advisory page mentions 0.1.1 under axon-context-mcp without describing the change, so verify before trusting it.

Which file contains the flaw?

src/axon/context/rtk_bootstrap.py, where _http_download() and _extract_binary() skip integrity checks.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Other MCP servers and tools vulnerabilities

All Other MCP servers and tools entries