Ongoing

Five ways past the same auto-approve parser

Roo Code's auto-approve let five commands through that its allowlist meant to block. The parser and the shell read the same string differently.

Logged 25 Oct 2026

The parser approved the echo

Roo Code reads every command twice before it runs: once to decide whether the allowlist forbids it, and again inside the shell that actually executes it. In five variants filed on 13 October, those two readings disagree badly enough to let a denied command through the check. A bare `>&` redirect is enough. The approval check looks at the redirect target, sees `echo`, and lets the string pass, after which bash runs the denied command behind it. The extension is archived, and version 3.54.0, released 15 May 2026, was its last.

Four more readings, same gap

The other four variants abuse parsing rather than redirection, hiding the real command from the same approval step that was meant to stop it. Quote-masking conceals it from `parseCommandLine()`, a command wrapped in `${ ... }` reads as parameter expansion to the checker, and one written next to a `*` or `?` glob is simply discarded from the check. Substitution in command position is evaluated one way by the parser and another by the shell, which is the general shape of all five bugs. Reachability depends on auto-approval. With it on, an indirect prompt injection is enough, and each variant scores 7.7 under CVSS 4.0, with CWE-436 covering the whole cluster of five.

No version to upgrade to

VulnCheck published the advisories, and GHSA-v45q-xfmj-r4wr tracks the first, but none of them lists a fixed release because the project has none. The repo is archived. Installed copies stay exposed until someone removes the extension or turns auto-approval off, which is the only real mitigation left. This log has covered the same failure in Claude Code's `rm` wrapper and in a session id that a leading dash turned into a flag. This is the same bug class turning up once more, at the end of a product's life with no patch path left.

Log take: The archived repo is the sharp part, because a bypass with no patch path is a permanent hole rather than a pending fix. (Interpretation; high confidence on the advisories, no exploitation reported.)

Sources

Research