CVE-2026-76818: Axon Download Of Code Without Integrity Vulnerability

HIGH
Advisory Identifier: GHSA-r7wg-f7r2-8wf7
CVSS 7.5
CWE-494
Published
Advisory Summary

CVE-2026-76818 is a HIGH (CVSS 7.5) download of code without integrity vulnerability (CWE-494: Download of Code Without Integrity Check) affecting Axon libraries in the PyPI ecosystem. The issue involves download of code without integrity check in axon-mcp. Remediation is available in the latest vendor maintenance releases.

CVE-2026-76818 at a Glance

CVE Identifier CVE-2026-76818
GHSA Identifier GHSA-r7wg-f7r2-8wf7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-494: Download of Code Without Integrity Check
Affected Product Axon
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-76818

To remediate this vulnerability, upgrade all affected Axon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

axon-mcp fixed: Latest secure release
pip install axon-mcp>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show axon-mcp

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-76818, inspect your installed packages using pip:

pip show axon-mcp

Analyze the terminal output to locate any version of Axon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show axon-mcp command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-494: Download of Code Without Integrity Check, where the product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code. In Axon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-76818 Affected Axon Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
axon-mcp
PyPI
≤ 0.1.0

References

Frequently Asked Questions

What is CVE-2026-76818?
CVE-2026-76818 is a security vulnerability in Axon involving Download of Code Without Integrity Check in axon-mcp under CWE-494: Download of Code Without Integrity Check.
Which Axon versions are affected?
Affected versions include releases prior to current release patches across affected packages: axon-mcp.
What version fixes CVE-2026-76818?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is axon-mcp affected?
Yes, axon-mcp is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-76818?
CVE-2026-76818 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-76818?
CVE-2026-76818 is classified under CWE-494: Download of Code Without Integrity Check (The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.).
How can I check PyPI dependencies for CVE-2026-76818?
Run the dependency tree command: 'pip show axon-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r7wg-f7r2-8wf7",
  "modified" : "2026-11-19T20:34:53Z",
  "published" : "2026-11-19T20:34:53Z",
  "aliases" : [ "CVE-2026-76818" ],
  "summary" : "Axon: Download of Code Without Integrity Check in axon-mcp",
  "details" : "### 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "axon-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/axon/security/advisories/GHSA-r7wg-f7r2-8wf7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-76818"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/rtkx/pull/2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/rtkx/pull/3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/axon/commit/398e47d5d2b1e1ba88c8d2bac90ac30811a9152b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/axon/commit/c5863e616688c6c60b2716db9ce4b1b522213b8c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sammyjdev/axon/commit/d2cc7bccd99c76ec06ac7f7f04d3b2f765c9e741"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sammyjdev/axon"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-494" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-19T20:34:53Z",
    "nvd_published_at" : "2026-11-18T22:17:24Z"
  }
}