7.5high
Axon: Download of Code Without Integrity Check in axon-mcp
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.23% (higher than 8% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r7wg-f7r2-8wf7
Description
Axon is an agent-agnostic context engine that gives AI coding agents continuous memory across sessions, tools, and machines. Prior to 0.1.1, rtk-install in src/axon/context/rtk_bootstrap.py uses _http_download() to fetch a prebuilt rtkx release archive and _extract_binary() to mark it executable, after which compress_text_with_rtk() invokes it without verifying a checksum, signature, or build attestation. If the sammyjdev/rtkx release pipeline or maintainer release credentials are compromised, an attacker can supply a modified binary that executes with the Axon process privileges when a user installs or automatically bootstraps rtkx. This issue is fixed in version 0.1.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sammyjdev axon | < 0.1.1 | CVE List |
| axon-mcp (PyPI) | up to 0.1.0 | GitHub Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Axon is an agent-agnostic context engine that gives AI coding agents continuous memory across sessions, tools, and machines. Prior to 0.1.1, rtk-install in src/axon/context/rtk_bootstrap.py uses _http_download() to fetch a prebuilt rtkx release archive and _extract_binary() to mark it executable, after which compress_text_with_rtk() invokes it without verifying a checksum, signature, or build attestation. If the sammyjdev/rtkx release pipeline or maintainer release credentials are compromised, an attacker can supply a modified binary that executes with the Axon process privileges when a user installs or automatically bootstraps rtkx. This issue is fixed in version 0.1.1.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-76818 changed 2026-11-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r7wg-f7r2-8wf7 changed 2026-11-19 | CC-BY-4.0 |
| NVD | CVE-2026-76818 changed 2026-11-19 | Public domain |