Vulnerability  ·  2026-10-27

Z.ai Zcode Sed command filter OS command injection (agent coding assistant)

VulnerabilityMedium impactGlobalCVE-2026-116118
An OS command injection in Zcode's Sed Command Filter allows remote code execution through the agent's command surface. CVSS 6.3, published 2026-10-26, exploit publicly disclosed.
Zcode is an agentic coding assistant that executes shell commands (e.g. sed) on a developer's machine; a command-injection in the filter gives a prompt-injected instruction or a malicious input path a code-execution primitive.
The Sed Command Filter in Zcode passes untrusted input into a shell sed invocation without safe quoting, enabling OS command injection that an attacker (or a prompt-injected instruction the agent processes) can trigger remotely. A public exploit has been disclosed.
Z.ai Zcode up to 3.14.3 / 3.15.1 (Sed Command Filter).
Upgrade to a patched version; restrict/validate input reaching the sed filter and avoid untrusted command arguments.
NVD detail
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →