What is happening
Model Context Protocol servers, agent gateways and coding-agent integrations are widening the attack surface. The stories we cluster here do not describe one campaign by one actor. They describe a pattern: components that sit between an AI agent and the systems it can reach are being found to execute code, leak credentials or trust content they should not.
Three strands stand out. The first is active exploitation of LiteLLM, an AI gateway that stores and brokers provider API keys. CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog, and separate honeypot reporting describes scanning for CVE-2026-42271 and CVE-2026-48710. The second is a cluster of flaws in MCP reference servers and related agent tools, where a malicious git repository can run commands as the user running the server. The third is a malware campaign reported by Bitdefender Labs that turns the instruction files of AI coding assistants into an execution route.
Some of this is confirmed abuse and some is disclosure only. The LiteLLM items and the Bitdefender campaign involve real activity. The IBM ContextForge and MCP git server items are vulnerability disclosures, and the sources report no exploitation for them. We keep that distinction throughout.
How it developed
The LiteLLM story has the longest history. CVE-2026-40217, a sandbox escape in the guardrail test feature, was disclosed on 10 April 2026 and rated CVSS 8.8. A public proof-of-concept followed on 19 May. CVE-2026-42271, a high-severity remote code execution flaw in LiteLLM, was published on 8 May, and CVE-2026-48710, a medium-severity Starlette flaw, on 26 May.
The autumn brought the move from disclosure to use. On 11 September a command execution flaw in Goose Review, tied to the diff.external git setting, was reported. On 13 November IBM published CVE-2026-110279 and CVE-2026-110278 for its ContextForge MCP Gateway, and on 14 November it advised an upgrade to version 1.1.1. The same day a pull request for the Goose Review issue was submitted.
Exploitation surfaced next. Threat actors began scanning for vulnerable LiteLLM and Starlette endpoints over the weekend of 15 November, and honeypots recorded exploit attempts on 16 November. On 18 November CISA added CVE-2026-40217 to the KEV catalog with remediation due 2 December, after Zenity Labs reportedly observed threat actors abusing the guardrail tester to run code as root. Also on 18 November, Gbhackers reported the GitHub malware campaign against AI coding assistant users, and mcp-server-git 2026.11.18 was released as a fixed version.
On 21 November two GitHub advisories on the MCP git server described bypasses of its harden_repo defence, and the MCP reference-server v2.5.0 release was reported as fixing eight vulnerabilities across three packages. On 23 November Bitdefender published its analysis of 22 malicious GitHub links, and Google announced semantic governance policies in Preview for checking agent tool calls before they run. Fortinet and Red Hat material on CVE-2026-40217, including bundled-product errata, appeared on 25 November.
Timeline
How the attacks work
The ATT&CK techniques extracted from this material follow a recognisable chain, though not every step appears in every story. Across the campaign, the chain runs from initial access through execution to credential access and exfiltration.
Initial access appears in two forms. Exploit Public-Facing Application (T1190) fits the LiteLLM activity. For CVE-2026-42271 and CVE-2026-48710, the reporting says attackers manipulate the HTTP Host header on the /mcp-rest/test/tools/list endpoint to bypass authentication and reach unauthenticated remote code execution. For CVE-2026-40217, the attacker posts to /guardrails/test_custom_code. Sources disagree on the privilege needed. Red Hat says authenticated, administrative-level access is required, while FortiGuard says a low-privilege key or low-tier account is enough, which is common in multi-tenant gateways. Supply Chain Compromise (T1195) fits the GitHub campaign, where malicious repository content reaches developers who clone or open it, and the documented payload capabilities include trying to republish infected packages to npm, PyPI, RubyGems or JFrog. Bitdefender's articles describe these as capabilities, not confirmed compromises of every target.
Execution (T1059, Command and Scripting Interpreter, and T1059.006, Python) is the step shared by most stories. In the Bitdefender campaign, files such as AGENTS.md and CLAUDE.md present a setup.js script as a signed, sealed initialisation artefact and discourage inspection, so the agent runs it. A second route uses a session-start hook in project settings. In interactive Claude Code sessions this depends on workspace trust, while noninteractive and SDK sessions do not show the same trust prompt. In the MCP git server, execution comes from repository-defined filter and merge drivers. One advisory describes a missing [include] path that escapes blanking and later fires during git merge --abort, while the tool still reports the repository unchanged. The other describes empty-named drivers, written as [filter ""], that the detection pattern never matches. The advisories say a read-only tool call can run a command of the repository's choosing as the server's user. Goose Review has a similar shape through diff.external. The LiteLLM sandbox escape yields code execution in the gateway process, reportedly as root in some deployments, and the Python technique fits that Python-based service.
Credential access follows. Unsecured Credentials (T1552) and Credentials from Password Stores (T1555) match the Bitdefender payload, which can collect source-control tokens, cloud secrets, CI/CD and package registry tokens, SSH keys, browser data and password manager data, and can validate stolen tokens against provider APIs. For LiteLLM, the point is that the gateway holds provider API keys, so code execution there can expose them and the surrounding environment. The IBM ContextForge flaws sit in this area too, though as disclosures only: one concerns credential handling through the X-Upstream-Authorization header and the other replay of identity claims to third-party servers.
Exfiltration Over Web Service (T1567) is the final extracted technique. Our evidence does not describe the exfiltration channel in any detail, so we note only that stolen tokens are validated against provider APIs and that the sources frame theft as the payload's purpose.
Persistence is a notable addition outside the extracted list. The Bitdefender payload searches for configurations tied to 14 coding tools, including Claude, Codex, Copilot and Cursor, and can tamper with instructions, hooks or MCP server definitions. Where GitHub or GitLab credentials allow, it could plant malicious configurations in other repositories, which is how the campaign is described as spreading.
Attack Flow
Who and what is targeted
The targets are the components that broker trust. LiteLLM is a gateway that holds model provider keys, and it is also bundled in Red Hat Ansible Automation Platform 2.6, OpenShift AI 3.3 and Lightspeed Core, so an organisation may be exposed without having deployed LiteLLM directly. Red Hat errata RHSA-2026:24866 and RHSA-2026:30056 cover the bundled products. The honeypot reporting singles out cloud-native environments deploying AI and ML frameworks and describes attackers mutating payloads to evade defences, with previously disclosed flaws being re-weaponised.
The MCP reference servers are the second target. For mcp-server-git, versions through 2026.11.11 are affected and the fix is 2026.11.18. For server-filesystem, versions before 2.4.0 and date versions 2025.1.14 through 2026.8.31 are affected, fixed in 2.4.0. For server-everything, versions through 2.3.0 are affected, fixed in 2.3.1. The git fixes disable automatic maintenance and garbage collection hooks, set GIT_NO_LAZY_FETCH=1, reread filter and merge drivers before running Git commands, clear empty-name drivers, validate index paths and force diff.submodule=short. One operational trap matters: package managers rank 2.4.0 below the date-based 2025.x and 2026.x versions, so the filesystem fix is not offered automatically and must be installed explicitly with npm. The reporting names no CVE identifiers for these issues and no exploitation in the wild.
The third target is the developer workstation. The Bitdefender campaign aims at people who use AI coding assistants and open untrusted repositories, and at the credentials those machines hold. Goose Review users running against untrusted repositories face the same class of risk. IBM ContextForge users on versions 1.0.0 to 1.1.0 are exposed to the credential and identity flaws, with no confirmed exploitation and no KEV listing.
Several stories in the cluster do not fit this pattern and we leave them aside. The Wildberries, kicad-mcp-pro, mcp-combiner and APatch items are product releases with no reported flaw. The AWS CDK samples are likewise guidance with no reported vulnerability.
What defenders should do now
Start with LiteLLM. Patch against all three CVEs, confirming fixed-version cut-offs against vendor advisories because sources differ on them. Check whether LiteLLM is bundled in Red Hat products and apply the listed errata. CISA's remediation date for CVE-2026-40217 is 2 December. Rotate provider API keys on any exposed, unpatched instance, since the gateway stores them. Do not expose the /mcp-rest/test/tools/list or /guardrails/test_custom_code endpoints to untrusted networks, and use segmentation as the honeypot reporting advises. FortiGuard IPS signature 62918 is available for detection.
Update MCP reference servers deliberately. Move mcp-server-git to 2026.11.18 or later and server-everything to 2.3.1. Install server-filesystem 2.4.0 by hand with npm, and verify the installed version afterwards. Upgrade IBM ContextForge to 1.1.1. Do not point git-based agent tools at untrusted repositories until patched, and treat any repository an agent reads as code that may run.
Treat agent instruction files and hooks as executable. Before granting workspace trust, review AGENTS.md, CLAUDE.md, session-start hooks, MCP server definitions and editor tasks, as Bitdefender recommends. Be especially careful in noninteractive and SDK sessions, where the trust prompt does not appear. Hunt for unexpected changes to agent configurations across the 14 tools named, and rotate source-control, cloud, CI/CD and package registry tokens on any machine that ran an unreviewed repository.
Add a control on tool calls. Google's semantic governance policies check each proposed call against company rules and the user's request, and are aimed at indirect prompt injection. Google itself says verdicts are probabilistic and may vary, recommends dry-run mode first, and notes that streamed responses are not evaluated and coverage is limited to its own platform. It is a useful layer, not a substitute for patching or for least privilege. The same logic applies to the read-only-first, approval-for-destructive-tools stance that some MCP project documentation recommends.
What to watch next
Watch for exploitation of the MCP git server and ContextForge flaws. Both are disclosures today, but the git driver bypasses are simple to describe and the LiteLLM case shows how quickly a public proof-of-concept and scanning can follow.
Watch for CVE identifiers on the git advisories, which the reporting lacks, and for fresh bypasses of repository hardening, since two arrived within one defence. Watch also for the Bitdefender campaign to grow beyond 22 links, and for confirmation or denial of package republishing, which the articles describe only as a capability. Finally, watch whether the exploitation of LiteLLM continues to mutate payloads, as the honeypot reporting suggests, and whether more bundled copies of the gateway turn up in vendor products.
Common questions
Is CVE-2026-40217 being exploited?
Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 18 November 2026 with remediation due 2 December, after Zenity Labs reportedly saw abuse of the guardrail tester. Sources differ on the privilege required, so assume a low-privilege key may be enough.
How do I fix the MCP reference server vulnerabilities?
Upgrade mcp-server-git to 2026.11.18, server-everything to 2.3.1 and server-filesystem to 2.4.0. The filesystem package will not be offered automatically to date-versioned installs, so install it explicitly with npm and check the result.
How does the GitHub malware campaign target AI coding assistants?
It uses files such as AGENTS.md and CLAUDE.md to present a setup.js loader as a trusted initialisation step, and a session-start hook as a second route. Interactive Claude Code sessions depend on workspace trust, while noninteractive and SDK sessions do not show the same prompt.
Do semantic governance policies stop prompt injection?
They can block a tool call that breaks company rules or goes beyond the user's request, which targets indirect prompt injection. Google says verdicts are probabilistic, streamed responses are not evaluated and the feature covers only its own platform, so it should sit alongside patching and least privilege.
Sources
CVE Alert: CVE-2026-110279 – IBM Redpacketsecurity · 14 Nov 2026· our coverage
Pages Node 7296490 www.ibm.com · 14 Nov 2026· our coverage
Goose Pull 12537 github.com · 14 Nov 2026· our coverage
CVE-2026-42271 & CVE-2026-48710: LiteLLM/Starlette RCE Exploit Active in the Wild Aviatrix.Ai · 17 Nov 2026· our coverage
Scans for LiteLLM/Starlette (CVE-2026-42271, CVE-2026-48710), (Mon, Nov 16th) Isc.Sans.Edu · 16 Nov 2026· our coverage