critical

CVE

CVE-2026-113663, CVE-2026-61536, CVE-2026-54143, CVE-2026-54141, CVE-2026-54145, CVE-2026-54146, CVE-2026-123783, CVE-2026-54912

CWE

CWE-78, CWE-94, CWE-470, CWE-862, CWE-601, CWE-787

Affected Surface

  • PyPI `ag2` versions `>= 0.13.2, < 1.1.1` and `autogen` versions `>= 0.13.2, <= 0.14.1` (`CVE-2026-113663` / `GHSA-2h4w-29cv-2cmv`, CVSS 8.8 High, fixed in `ag2 1.1.1`)
  • PyPI `banks` versions `<= 2.4.2` (`CVE-2026-61536` / `GHSA-64vx-6h2c-rjh7`, CVSS 7.5 High, fixed in `2.4.3` / `2.5.1`)
  • Rust / Desktop agent harness `openhuman` (`tinyhumansai/openhuman`) versions `< 0.57.13` (`CVE-2026-54143` CVSS 9.8 Critical, `CVE-2026-54141` CVSS 9.0 Critical, `CVE-2026-54145` and `CVE-2026-54146` CVSS 8.8 High)
  • PyPI `skyvern` (`Skyvern-AI/skyvern`) versions `<= 1.0.56` (`CVE-2026-123783`, CVSS 8.8 High, fixed in `1.0.57`)
  • Go MCP SDK `github.com/mark3labs/mcp-go` (`GO-2026-6911` in `NewStreamableHTTP` and issue `#1164` case-insensitive JSON-RPC method matching)
  • C / WebAssembly runtime `wasm-micro-runtime` (`WAMR`) versions `< 2.4.5` (`CVE-2026-54912` / `GHSA-jjv3-x3jf-cg49`, CVSS 8.8 High, fixed in `WAMR-2.4.5`)

TL;DR

Between 5 and 6 November 2026, six vulnerabilities across Python, Rust, and Go AI agent tooling and WebAssembly runtimes exposed recurring flaws in how agent frameworks enforce command allowlists, human-in-the-loop approvals, and sandbox boundaries:

  1. AG2 (AutoGen) SandboxShellTool allowlist and readonly=True bypass (CVE-2026-113663 / GHSA-2h4w-29cv-2cmv, CVSS 8.8 High): In ag2 0.13.2 through 1.1.0 (and autogen 0.13.2 through 0.14.1), ShellAdapter._filter() checked the command’s prefix against allowed=[...] or READONLY_COMMANDS and scanned for a list of shell operators, then passed the raw string to sh -c. Because contains_shell_operator() omitted \n, \r, &, and <, a command such as "git status\ntouch /tmp/pwn" or "git status & id" passed validation and executed the second command on the host (LocalEnvironment is the default backend). Even single commands in READONLY_COMMANDS (env, find -exec, sort -o, git diff --output=) could write files or execute arbitrary binaries. Fixed in ag2 1.1.1 (commit 3cd86726bb73).
  2. Banks <= 2.4.2 Tool.import_path arbitrary callable RCE (CVE-2026-61536 / GHSA-64vx-6h2c-rjh7, CVSS 7.5 High): Although banks 2.4.2 switched Jinja2 to SandboxedEnvironment to fix CVE-2026-44209, CompletionExtension (src/banks/extensions/completion.py) still parsed Tool JSON objects from the rendered plaintext body of {% completion %} blocks and resolved tool.import_path via importlib.import_module(module_name) + getattr(module, func_name). Any prompt template containing "import_path": "os.system" executed os.system when the model emitted the corresponding tool call. Fixed in banks >= 2.4.3 (2.5.1 latest).
  3. OpenHuman < 0.57.13 unapproved channel cron jobs and node_exec bypass (CVE-2026-54143 CVSS 9.8 Critical, CVE-2026-54141 CVSS 9.0 Critical): Inbound messages from external messaging channels (such as Yuanbao) ran agent turns without setting APPROVAL_CHAT_CONTEXT. Because ApprovalGate treated a missing approval context as a non-interactive internal turn and failed open, remote channel messages could schedule persistent shell cron jobs (CVE-2026-54143) or invoke node_exec (CVE-2026-54141) without human approval. Fixed in OpenHuman 0.57.13 (commit 3a7180da7765).
  4. Skyvern <= 1.0.56 types.CodeType bytecode sandbox escape (CVE-2026-123783, CVSS 8.8 High): Skyvern’s workflow script validator (is_safe_script_code in skyvern/forge/sdk/workflow/code_block_safety.py) did not block types, sys, CodeType, FunctionType, or LambdaType, allowing authenticated workflow authors to reconstruct functions from raw Python bytecode and import subprocess or socket inside the server process. Fixed in skyvern 1.0.57 (commit 31a64c1a4b5d).
  5. Go MCP SDK github.com/mark3labs/mcp-go OAuth token leak on 3xx redirects (GO-2026-6911) and case-insensitive JSON-RPC method matching (Issue #1164): NewStreamableHTTP in mcp-go/client/transport constructed an http.Client with a nil CheckRedirect policy while injecting WithHeaders and OAuth Authorization: Bearer tokens inside the underlying RoundTripper, causing any 3xx redirect from an MCP server to forward the caller’s OAuth token to arbitrary external or internal hosts.
  6. WebAssembly Micro Runtime (WAMR) < 2.4.5 fast-interpreter constant-table heap overflow (CVE-2026-54912 / GHSA-jjv3-x3jf-cg49, CVSS 8.8 High): In core/iwasm/interpreter/wasm_loader.c, sorting and deduplicating the constant table between Pass 1 (sizing) and Pass 2 (code emission) caused wasm_loader_get_const_offset() to return different answers in each pass, making reserve_block_ret() emit unmeasured copy operands past the allocated bytecode buffer. Fixed in WAMR 2.4.5 (commit b1353b5e8983).

Affected packages and projects

EcosystemPackage / ProjectAdvisory / CVESeverityAffected versionsFixed versionVulnerable component
PyPIag2 / autogenCVE-2026-113663 (GHSA-2h4w-29cv-2cmv)CVSS 8.8 Highag2 >= 0.13.2, < 1.1.1; autogen >= 0.13.2, <= 0.14.1ag2 1.1.1 (1.3.0 latest)ShellAdapter and READONLY_COMMANDS in ag2/tools/sandbox/
PyPIbanksCVE-2026-61536 (GHSA-64vx-6h2c-rjh7)CVSS 7.5 High<= 2.4.22.4.3 (2.5.1 latest)_get_tool_callable() in src/banks/extensions/completion.py
Rust / Desktopopenhuman (tinyhumansai/openhuman)CVE-2026-54143, CVE-2026-54141, CVE-2026-54145, CVE-2026-54146CVSS 9.8 / 9.0 Critical; 8.8 High< 0.57.13 (< 0.57.5 for 54145/54146)0.57.13AgentTurnOrigin, ApprovalGate, and cron / node_exec tool policy
PyPIskyvern (Skyvern-AI/skyvern)CVE-2026-123783CVSS 8.8 High<= 1.0.561.0.57BLOCKED_SCRIPT_ATTRS & BLOCKED_SCRIPT_IMPORTS in code_block_safety.py
Gogithub.com/mark3labs/mcp-goGO-2026-6911 & Issue #1164HighAll versions (<= v1.5.0)Supply custom WithHTTPBasicClient with CheckRedirectNewStreamableHTTP in client/transport; HandleMessage in server
C / Wasmwasm-micro-runtime (WAMR)CVE-2026-54912 (GHSA-jjv3-x3jf-cg49)CVSS 8.8 High< 2.4.52.4.5wasm_loader_get_const_offset() in core/iwasm/interpreter/wasm_loader.c

Technical analysis

1. CVE-2026-113663 (AG2 SandboxShellTool) and CVE-2026-61536 (Banks CompletionExtension)

In AG2 (ag2 < 1.1.1), SandboxShellTool provides an allowed=[...] prefix allowlist and a readonly=True mode intended to let LLM agents run safe inspection commands (cat, ls, git status, git diff). Before commit 3cd86726bb73, ShellAdapter validated the command string in Python and then passed the raw string to sh -c:

  1. contains_shell_operator() did not block \n, \r, &, or <, so an LLM prompt-injected into running "git status --short\ntouch pwned" or "git diff <(touch pwned)" satisfied the "git status" / "git diff" prefix check and ran the second command in sh.
  2. Even without shell separators, READONLY_COMMANDS included env (which executes any binary passed as its argument), find (-exec), sort (--output=), file (-C), and git diff (--output=).

In ag2 1.1.1, restricted mode (allowed or readonly=True) splits the command into an argv array once, validates argv word-by-word against the allowlist and per-command option filters, drops env, find, file, sort, and git from the default READONLY_COMMANDS tuple, and executes argv directly without invoking a shell.

In Banks (<= 2.4.2, CVE-2026-61536), _body_to_messages() in src/banks/extensions/completion.py iterates over lines in a rendered {% completion %} block and calls Tool.model_validate_json(line) on any JSON line that is not a ChatMessage. Because Tool includes an unrestricted import_path: str field, _get_tool_callable() resolved any dotted Python path at tool-execution time:

# Vulnerable callable resolution in banks <= 2.4.2 (src/banks/extensions/completion.py:79-98)
def _get_tool_callable(self, tools, tool_call):
    for tool in tools:
        if tool.function.name == tool_call.function.name:
            module_name, func_name = tool.import_path.rsplit(".", maxsplit=1)
            module = importlib.import_module(module_name)
            return getattr(module, func_name)

Because Tool JSON is parsed from the rendered template string after Jinja2 finishes rendering, Jinja2’s SandboxedEnvironment never inspects import_path.

2. CVE-2026-123783 (Skyvern CodeType escape) and CVE-2026-54143 / 54141 (OpenHuman approval gate)

In Skyvern (<= 1.0.56), user-supplied workflow Python blocks are checked by is_safe_script_code() in skyvern/forge/sdk/workflow/code_block_safety.py. While BLOCKED_SCRIPT_IMPORTS blocked os, subprocess, socket, and builtins, it did not block types or sys, and BLOCKED_SCRIPT_ATTRS did not block CodeType, FunctionType, or LambdaType. Additionally, _execute_workflow_blocks() cached generated scripts at TEMP_PATH/<script_id>/main.py rather than keying by script_revision_id and did not re-validate stored script files before spec.loader.exec_module(). Commit 31a64c1a4b5d (skyvern 1.0.57) blocks types, sys, CodeType, FunctionType, and LambdaType, scopes TEMP_PATH by script_revision_id, and calls _validate_stored_script_sources(script_path) immediately before module execution:

--- a/skyvern/forge/sdk/workflow/code_block_safety.py
+++ b/skyvern/forge/sdk/workflow/code_block_safety.py
@@ -66,6 +66,9 @@
         "co_consts",
         "co_names",
         "co_varnames",
+        "CodeType",
+        "FunctionType",
+        "LambdaType",
         "gi_frame",
         "gi_code",

In OpenHuman (< 0.57.13, commit 3a7180da7765), AgentTurnRequest now carries an explicit AgentTurnOrigin label, and ApprovalGate fails closed whenever an external channel turn attempts to invoke write/shell tools (cron, node_exec) without an active interactive approval channel.

3. GO-2026-6911 (mark3labs/mcp-go) and CVE-2026-54912 (WAMR 2.4.5)

  • github.com/mark3labs/mcp-go (GO-2026-6911 and Issue #1164): In github.com/mark3labs/mcp-go/client/transport, NewStreamableHTTP() creates a default http.Client with CheckRedirect: nil (which follows up to 10 HTTP 3xx redirects across any host or scheme). Because mcp-go injects configured WithHeaders and OAuth Authorization: Bearer tokens inside a custom http.RoundTripper rather than on the initial request’s Header map, Go’s standard library cannot strip the Authorization header on cross-origin redirects; the RoundTripper re-attaches the bearer token to the redirected request target. Separately, issue #1164 notes that HandleMessage unmarshals JSON-RPC envelopes with Go’s standard encoding/json, which matches struct field names case-insensitively and folds Unicode ſ (U+017F) to s and K (U+212A) to k (allowing "Method": "tools/call" or "paramſ" to bypass exact-match MCP authorization proxies, the same class of bug fixed in the official Go MCP SDK as CVE-2026-27896).
  • WebAssembly Micro Runtime (WAMR) < 2.4.5 (CVE-2026-54912): In core/iwasm/interpreter/wasm_loader.c, the fast interpreter compiles WASM bytecode in two passes: Pass 1 (p_code_compiled == NULL) measures the required buffer size and populates the constant table, and Pass 2 (p_code_compiled != NULL) emits instructions into the allocated buffer. Because Pass 1 capped linear deduplication scanning at 32 entries (FAST_INTERP_CONST_DEDUP_SCAN_MAX) and then sorted and deduplicated the constant table before Pass 2 ran bsearch(), a module with duplicate constants could overflow the constant-slot limit in Pass 1 (emitting constants inline without copy instructions) but find the deduplicated constants in the table during Pass 2 (causing reserve_block_ret() to emit extra copy operands past the end of p_code_compiled).

Detection and remediation

# 1. Check Python environments and lockfiles for ag2, autogen, banks, and skyvern
pip show ag2 autogen banks skyvern 2>/dev/null || true
rg -n '"?(ag2|autogen|pyautogen|banks|skyvern)"?\s*([~=!<>]=|:)' \
  requirements*.txt pyproject.toml uv.lock poetry.lock 2>/dev/null

# 2. Check Go projects for github.com/mark3labs/mcp-go and inspect NewStreamableHTTP usage
rg -n 'github\.com/mark3labs/mcp-go|NewStreamableHTTP' go.mod *.go 2>/dev/null
  1. Upgrade Python and Rust AI agent frameworks:
    • Upgrade ag2 to >= 1.1.1 (1.3.0 latest; note that legacy autogen <= 0.14.1 should migrate to ag2 >= 1.1.1).
    • Upgrade banks to >= 2.4.3 (2.5.1 latest) and never load {% completion %} templates from untrusted users or shared Redis registries without an explicit tool callable allowlist.
    • Upgrade openhuman to >= 0.57.13 and audit existing scheduled jobs for unexpected shell cron entries created before upgrading.
    • Upgrade skyvern to >= 1.0.57.
  2. Harden github.com/mark3labs/mcp-go clients (GO-2026-6911): Pass a custom http.Client via transport.WithHTTPBasicClient(&http.Client{CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }}) so StreamableHTTP never follows cross-origin redirects with OAuth tokens attached.
  3. Upgrade wasm-micro-runtime (WAMR) to >= 2.4.5 on any host or edge service running untrusted .wasm modules with the fast interpreter enabled.

Timeline

  • 2026-11-04 (04:22 UTC): mark3labs/mcp-go issue #1164 discloses case-insensitive and Unicode-folded JSON-RPC member matching in HandleMessage.
  • 2026-11-05 (17:18 to 23:38 UTC): NVD, GitHub Advisory Database, and Go vulndb publish CVE-2026-54143 and CVE-2026-54141 (OpenHuman 0.57.13), CVE-2026-61536 (Banks 2.4.3), CVE-2026-54912 (WAMR 2.4.5), CVE-2026-113663 (AG2 1.1.1), and GO-2026-6911 (mark3labs/mcp-go).
  • 2026-11-06 (15:17 UTC): NVD publishes CVE-2026-123783 for Skyvern (<= 1.0.56, fixed in 1.0.57).

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References