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:
- AG2 (
AutoGen)SandboxShellToolallowlist andreadonly=Truebypass (CVE-2026-113663/GHSA-2h4w-29cv-2cmv, CVSS 8.8 High): Inag20.13.2through1.1.0(andautogen0.13.2through0.14.1),ShellAdapter._filter()checked the command’s prefix againstallowed=[...]orREADONLY_COMMANDSand scanned for a list of shell operators, then passed the raw string tosh -c. Becausecontains_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 (LocalEnvironmentis the default backend). Even single commands inREADONLY_COMMANDS(env,find -exec,sort -o,git diff --output=) could write files or execute arbitrary binaries. Fixed inag2 1.1.1(commit3cd86726bb73). - Banks
<= 2.4.2Tool.import_patharbitrary callable RCE (CVE-2026-61536/GHSA-64vx-6h2c-rjh7, CVSS 7.5 High): Althoughbanks 2.4.2switched Jinja2 toSandboxedEnvironmentto fixCVE-2026-44209,CompletionExtension(src/banks/extensions/completion.py) still parsedToolJSON objects from the rendered plaintext body of{% completion %}blocks and resolvedtool.import_pathviaimportlib.import_module(module_name)+getattr(module, func_name). Any prompt template containing"import_path": "os.system"executedos.systemwhen the model emitted the corresponding tool call. Fixed inbanks >= 2.4.3(2.5.1latest). - OpenHuman
< 0.57.13unapproved channel cron jobs andnode_execbypass (CVE-2026-54143CVSS 9.8 Critical,CVE-2026-54141CVSS 9.0 Critical): Inbound messages from external messaging channels (such as Yuanbao) ran agent turns without settingAPPROVAL_CHAT_CONTEXT. BecauseApprovalGatetreated 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 invokenode_exec(CVE-2026-54141) without human approval. Fixed inOpenHuman 0.57.13(commit3a7180da7765). - Skyvern
<= 1.0.56types.CodeTypebytecode sandbox escape (CVE-2026-123783, CVSS 8.8 High): Skyvern’s workflow script validator (is_safe_script_codeinskyvern/forge/sdk/workflow/code_block_safety.py) did not blocktypes,sys,CodeType,FunctionType, orLambdaType, allowing authenticated workflow authors to reconstruct functions from raw Python bytecode and importsubprocessorsocketinside the server process. Fixed inskyvern 1.0.57(commit31a64c1a4b5d). - Go MCP SDK
github.com/mark3labs/mcp-goOAuth token leak on 3xx redirects (GO-2026-6911) and case-insensitive JSON-RPC method matching (Issue#1164):NewStreamableHTTPinmcp-go/client/transportconstructed anhttp.Clientwith anilCheckRedirectpolicy while injectingWithHeadersand OAuthAuthorization: Bearertokens inside the underlyingRoundTripper, causing any3xxredirect from an MCP server to forward the caller’s OAuth token to arbitrary external or internal hosts. - WebAssembly Micro Runtime (
WAMR)< 2.4.5fast-interpreter constant-table heap overflow (CVE-2026-54912/GHSA-jjv3-x3jf-cg49, CVSS 8.8 High): Incore/iwasm/interpreter/wasm_loader.c, sorting and deduplicating the constant table between Pass 1 (sizing) and Pass 2 (code emission) causedwasm_loader_get_const_offset()to return different answers in each pass, makingreserve_block_ret()emit unmeasured copy operands past the allocated bytecode buffer. Fixed inWAMR 2.4.5(commitb1353b5e8983).
Affected packages and projects
| Ecosystem | Package / Project | Advisory / CVE | Severity | Affected versions | Fixed version | Vulnerable component |
|---|---|---|---|---|---|---|
| PyPI | ag2 / autogen | CVE-2026-113663 (GHSA-2h4w-29cv-2cmv) | CVSS 8.8 High | ag2 >= 0.13.2, < 1.1.1; autogen >= 0.13.2, <= 0.14.1 | ag2 1.1.1 (1.3.0 latest) | ShellAdapter and READONLY_COMMANDS in ag2/tools/sandbox/ |
| PyPI | banks | CVE-2026-61536 (GHSA-64vx-6h2c-rjh7) | CVSS 7.5 High | <= 2.4.2 | 2.4.3 (2.5.1 latest) | _get_tool_callable() in src/banks/extensions/completion.py |
| Rust / Desktop | openhuman (tinyhumansai/openhuman) | CVE-2026-54143, CVE-2026-54141, CVE-2026-54145, CVE-2026-54146 | CVSS 9.8 / 9.0 Critical; 8.8 High | < 0.57.13 (< 0.57.5 for 54145/54146) | 0.57.13 | AgentTurnOrigin, ApprovalGate, and cron / node_exec tool policy |
| PyPI | skyvern (Skyvern-AI/skyvern) | CVE-2026-123783 | CVSS 8.8 High | <= 1.0.56 | 1.0.57 | BLOCKED_SCRIPT_ATTRS & BLOCKED_SCRIPT_IMPORTS in code_block_safety.py |
| Go | github.com/mark3labs/mcp-go | GO-2026-6911 & Issue #1164 | High | All versions (<= v1.5.0) | Supply custom WithHTTPBasicClient with CheckRedirect | NewStreamableHTTP in client/transport; HandleMessage in server |
| C / Wasm | wasm-micro-runtime (WAMR) | CVE-2026-54912 (GHSA-jjv3-x3jf-cg49) | CVSS 8.8 High | < 2.4.5 | 2.4.5 | wasm_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:
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 insh.- Even without shell separators,
READONLY_COMMANDSincludedenv(which executes any binary passed as its argument),find(-exec),sort(--output=),file(-C), andgit 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-6911and Issue#1164): Ingithub.com/mark3labs/mcp-go/client/transport,NewStreamableHTTP()creates a defaulthttp.ClientwithCheckRedirect: nil(which follows up to 10 HTTP3xxredirects across any host or scheme). Becausemcp-goinjects configuredWithHeadersand OAuthAuthorization: Bearertokens inside a customhttp.RoundTripperrather than on the initial request’sHeadermap, Go’s standard library cannot strip theAuthorizationheader on cross-origin redirects; theRoundTripperre-attaches the bearer token to the redirected request target. Separately, issue#1164notes thatHandleMessageunmarshals JSON-RPC envelopes with Go’s standardencoding/json, which matches struct field names case-insensitively and folds Unicodeſ(U+017F) tosandK(U+212A) tok(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 asCVE-2026-27896).- WebAssembly Micro Runtime (
WAMR)< 2.4.5(CVE-2026-54912): Incore/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 ranbsearch(), 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 (causingreserve_block_ret()to emit extra copy operands past the end ofp_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
- Upgrade Python and Rust AI agent frameworks:
- Upgrade
ag2to>= 1.1.1(1.3.0latest; note that legacyautogen <= 0.14.1should migrate toag2 >= 1.1.1). - Upgrade
banksto>= 2.4.3(2.5.1latest) and never load{% completion %}templates from untrusted users or shared Redis registries without an explicit tool callable allowlist. - Upgrade
openhumanto>= 0.57.13and audit existing scheduled jobs for unexpected shell cron entries created before upgrading. - Upgrade
skyvernto>= 1.0.57.
- Upgrade
- Harden
github.com/mark3labs/mcp-goclients (GO-2026-6911): Pass a customhttp.Clientviatransport.WithHTTPBasicClient(&http.Client{CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }})soStreamableHTTPnever follows cross-origin redirects with OAuth tokens attached. - Upgrade
wasm-micro-runtime(WAMR) to>= 2.4.5on any host or edge service running untrusted.wasmmodules with the fast interpreter enabled.
Timeline
- 2026-11-04 (
04:22 UTC):mark3labs/mcp-goissue#1164discloses case-insensitive and Unicode-folded JSON-RPC member matching inHandleMessage. - 2026-11-05 (
17:18to23:38 UTC): NVD, GitHub Advisory Database, and GovulndbpublishCVE-2026-54143andCVE-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), andGO-2026-6911(mark3labs/mcp-go). - 2026-11-06 (
15:17 UTC): NVD publishesCVE-2026-123783for Skyvern (<= 1.0.56, fixed in1.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
- AG2 Advisory GHSA-2h4w-29cv-2cmv / CVE-2026-113663 and fix commit 3cd86726bb73
- Banks Advisory GHSA-64vx-6h2c-rjh7 / CVE-2026-61536 (Unsafe importlib.import_module of Tool.import_path)
- OpenHuman Advisories GHSA-f46p-6vf9-64mm (CVE-2026-54143) and GHSA-gg3m-wgmq-vhmx (CVE-2026-54141) and commit 3a7180da7765
- Skyvern commit 31a64c1a4b5d (CVE-2026-123783: Harden script sandbox validation against CodeType bytecode)
- Go Vulnerability Database GO-2026-6911 and mark3labs/mcp-go Issue #1164
- WebAssembly Micro Runtime (WAMR) Advisory GHSA-jjv3-x3jf-cg49 / CVE-2026-54912 and commit b1353b5e8983