{
  "id": "CVE-2026-54316",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54316",
  "published_at": "2026-06-23T17:06:16.184Z",
  "title": "Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch",
  "vendor": "anthropics",
  "product": "claude-code",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Claude Code is an agentic coding tool.  From 0.2.54 until 2.1.163, because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was auto-approved without a permission prompt or being subject to --allowedTools restrictions. An attacker able to inject untrusted content into a Claude Code context could direct it to issue WebFetch requests against attacker-controlled repository files (e.g. /resolve/main/config.json), which HuggingFace counts as downloads server-side, creating a covert out-of-band channel for encoding and exfiltrating data Claude can access such as files, environment variables, or command output. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 2.1.163.",
  "cwe": "CWE-183",
  "cpes": [
    "cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 6,
    "nvd": 9.1
  },
  "repos": [
    {
      "repo": "InertFluid/cve-2026-54316-lab",
      "url": "https://github.com/InertFluid/cve-2026-54316-lab",
      "created_at": "2026-06-18T11:36:59Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2016-08-18T18:24:04Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "anthropics",
        "product": "claude-code",
        "ranges": [
          "\u003e= 0.2.54, \u003c 2.1.163"
        ],
        "fixed_in": [
          "2.1.163"
        ]
      }
    ],
    "upgrade": [
      "Upgrade claude-code to 2.1.163 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/anthropics/claude-code/security/advisories/GHSA-fg94-h982-f3mm"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
