Skip to content
Section C · The archive · Dispatch
← The archive

vulnerability · Mon 28 Sep 2026 · 13:59 UTC

GHSA-456v-xq2p-r4cj: code-ollama: `grep_search` Command Injection via Unescaped `$()` Shell Substitution (CWE-78)

Filed UTCSource GTH ↗

grep_search Command Injection via Unescaped $() Shell Substitution (CWE-78) ### Summary The grep_search tool in code-ollama constructs a shell command string by interpolating attacker-controlled pattern and path arguments, then executes it via child_process.exec(). The sanitization only escapes backslashes and double-quote characters, leaving $() command substitution and backtick expansion fully intact. A malicious or compromised Ollama server can therefore inject and execute arbitrary OS commands with the privileges of the local user running code-ollama. …

Signals

as the pipeline stamped them
High
High-risk vulnerability — CVSS 7.8

Get the next one first.

Every dispatch goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.

Check your stack

Paste what you run: the CVEs exploited in the wild against it, and who is cited as exploiting them, with the report.

Stack checkNo key. No signup.