> status: mostly fine. patch anyway.practical AI security · est. 2026

Brief · Builders

A newline and a find command walk past two AI agents' command allowlists

By alkizz ·

CVE-2026-125368, published Nov 9, says OmniAgent, an open-source agent project with about 2,600 stars on GitHub, treats any bash command that starts with find as safe and skips the human approval step for it. The trouble is that find -execdir runs other programs. A prompt-injected agent can use it to run dd, nc, perl or openssl with no approval, and overwrite files or execute code. VulnCheck rates it 7.7. There's no fix. The bug covers OmniAgent through commit 12b98c5, which is still the latest commit (Jul 27), the project has no releases, and the GitHub issue reporting it has been open with no replies since Oct 23.

CVE-2026-113663 is the same idea in AG2's SandboxShellTool. When you restrict the tool with allowed=[...] or readonly=True, it checks that the command starts with an allowed prefix and rejects shell operators like ;, | and &&. It doesn't reject a newline, and the command then runs through sh -c, which treats a newline exactly like ;. So an allowed command, a newline, and then anything at all gets through. With the default LocalEnvironment backend, that's a real process on the host, and AG2's own docstring says "there is no real isolation." The advisory rates it 8.8. It's fixed in the ag2 package from 1.1.1 (the latest is 1.3.0), but the same advisory lists the older autogen package, versions 0.13.2 through 0.14.1, with no patched version, and 0.14.1 is still the newest autogen on PyPI.

Neither CVE is on CISA's Known Exploited Vulnerabilities list, and neither advisory reports any exploitation.

What to do:

Sources

← All briefs