{"vuln_id":"GHSA-r7wg-f7r2-8wf7","aliases":["CVE-2026-76818"],"description":"Axon: Download of Code Without Integrity Check in axon-mcp","published_at":"2026-11-19T20:34:53Z","modified_at":"2026-11-19T20:45:04.413068Z","first_seen_at":"2026-11-21T19:15:19.494498Z","severity":"high","severity_source":"ghsa","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-494"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-r7wg-f7r2-8wf7"},"matched_alias":null,"items":[{"id":10718,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-r7wg-f7r2-8wf7: Axon: Download of Code Without Integrity Check in axon-mcp","summary":"Axon: Download of Code Without Integrity Check in axon-mcp\n\n### Summary\naxon 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.\n\n### Details\nThe download path lives in src/axon/context/rtk_bootstrap.py:\n\n- _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.\n- _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.\n- There is no reference to checksum, sha256, verify, signature, gpg, cosign, or sigstore anywhere in this file.\n\nThe 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:\n\n`\nresult = subprocess.run(\n    [path, \"read\", str(tmp_path)],\n    capture_output=True, text=True, timeout=timeout_seconds,\n)`\n\n\n### PoC\nThis is a missing-control finding rather than an active exploit, so reproduction is by code audit rather than a live payload:\n\nClone sammyjdev/axon and open src/axon/context/rtk_bootstrap.py.\nConfirm _http_download() and _extract_binary() perform no hash/signature check before chmod +x.\nTrace the call chain: bootstrap_rtkx() → _http_download() → _extract_binary() → rtk_binary_path() (in rtk.py) → subprocess.run() in compress_text_with_rtk().\nOptionally 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.\n\n### Impact\nType: CWE-494 (Download of Code Without Integrity Check), \nleading to potential arbitrary code execution.\nWho'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.\n\nAffected: PyPI:axon-mcp\n\nNo fixed version published yet\n\nReferences:\nhttps://github.com/sammyjdev/axon/security/advisories/GHSA-r7wg-f7r2-8wf7\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-76818\nhttps://github.com/sammyjdev/rtkx/pull/2\nhttps://github.com/sammyjdev/rtkx/pull/3\nhttps://github.com/sammyjdev/axon/commit/398e47d5d2b1e1ba88c8d2bac90ac30811a9152b\nhttps://github.com/sammyjdev/axon/commit/c5863e616688c6c60b2716db9ce4b1b522213b8c\nhttps://github.com/sammyjdev/axon/commit/d2cc7bccd99c76ec06ac7f7f04d3b2f765c9e741\nhttps://github.com/sammyjdev/axon","url":"https://osv.dev/vulnerability/GHSA-r7wg-f7r2-8wf7","published_at":"2026-11-19T20:34:53Z","updated_at":"2026-11-19T20:45:04.413068Z","fetched_at":"2026-11-21T19:15:55.946127Z","severity":"high","cvss_score":7.5,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"axon-mcp","vuln_id":"CVE-2026-76818","vuln_ids":["CVE-2026-76818","GHSA-R7WG-F7R2-8WF7"],"tags":["osv","pypi","no-fix-yet"],"cluster_id":2242,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10718","html":"https://vulnwatch.ve1ve2.com/item/10718"}},{"id":2405,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-r7wg-f7r2-8wf7 / CVE-2026-76818: Axon: Download of Code Without Integrity Check in axon-mcp","summary":"Axon: Download of Code Without Integrity Check in axon-mcp\n\n### Summary\naxon 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.\n\n### Details\nThe download path lives in src/axon/context/rtk_bootstrap.py:\n\n- _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.\n- _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.\n- There is no reference to checksum, sha256, verify, signature, gpg, cosign, or sigstore anywhere in this file.\n\nThe 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:\n\n`\nresult = subprocess.run(\n    [path, \"read\", str(tmp_path)],\n    capture_output=True, text=True, timeout=timeout_seconds,\n)`\n\n\n### PoC\nThis is a missing-control finding rather than an active exploit, so reproduction is by code audit rather than a live payload:\n\nClone sammyjdev/axon and open src/axon/context/rtk_bootstrap.py.\nConfirm _http_download() and _extract_binary() perform no hash/signature check before chmod +x.\nTrace the call chain: bootstrap_rtkx() → _http_download() → _extract_binary() → rtk_binary_path() (in rtk.py) → subprocess.run() in compress_text_with_rtk().\nOptionally 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.\n\n### Impact\nType: CWE-494 (Download of Code Without Integrity Check), \nleading to potential arbitrary code execution.\nWho'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.\n\nAffected packages: pip:axon-mcp","url":"https://github.com/advisories/GHSA-r7wg-f7r2-8wf7","published_at":"2026-11-19T20:34:53Z","updated_at":"2026-11-19T20:34:54Z","fetched_at":"2026-11-21T19:15:18.416811Z","severity":"high","cvss_score":7.5,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"axon-mcp","vuln_id":"CVE-2026-76818","vuln_ids":["CVE-2026-76818","GHSA-R7WG-F7R2-8WF7"],"tags":["ghsa","pip","CWE-494"],"cluster_id":2242,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2405","html":"https://vulnwatch.ve1ve2.com/item/2405"}},{"id":8255,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-76818: 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…","summary":"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.\n\nReferences:\nhttps://github.com/sammyjdev/axon/commit/398e47d5d2b1e1ba88c8d2bac90ac30811a9152b\nhttps://github.com/sammyjdev/axon/commit/c5863e616688c6c60b2716db9ce4b1b522213b8c\nhttps://github.com/sammyjdev/axon/commit/d2cc7bccd99c76ec06ac7f7f04d3b2f765c9e741\nhttps://github.com/sammyjdev/axon/security/advisories/GHSA-r7wg-f7r2-8wf7\nhttps://github.com/sammyjdev/rtkx/pull/2\nhttps://github.com/sammyjdev/rtkx/pull/3\nhttps://github.com/sammyjdev/axon/security/advisories/GHSA-r7wg-f7r2-8wf7","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76818","published_at":"2026-11-18T22:17:24.720000Z","updated_at":"2026-11-19T20:17:54.103000Z","fetched_at":"2026-11-21T19:15:31.484039Z","severity":"high","cvss_score":7.5,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-76818","vuln_ids":["CVE-2026-76818","GHSA-R7WG-F7R2-8WF7"],"tags":["CWE-494"],"cluster_id":2243,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8255","html":"https://vulnwatch.ve1ve2.com/item/8255"}}]}