# OpenClaw security risks and how to sandbox it

An agent that reads your messages and runs your tools can be talked into things. That's the core risk, and it's what OpenClaw's own advisories show. The plain-English version, and the safe setup step by step.

Updated Sep 26, 2026 · By Ari Vale

This page has referral links: we earn a commission if you buy, at no cost to you.

## The short answer

OpenClaw's risk is simple to state: it's an AI agent that can read your messages and run tools on your computer, so anyone who can message it can try to talk it into doing things. OpenClaw has published security advisories showing exactly that class of bug. Two examples: inbound voice calls that "could inherit owner tool authority" (GHSA-rrxp-5mx8-mvhh) and a WhatsApp login tool non-owners "could reach" (GHSA-9m4p-cqp4-jppq), both patched in 2026.8.1. To run it safely: stay on the latest version (v2026.9.6 on Sep 25, 2026), keep the gateway on its default loopback-only setting, use DM pairing or an allowlist rather than "open", don't hand out broad "allow-always" command approvals, run `openclaw security audit`, and consider a sandbox such as OpenClaw's Docker sandbox or NVIDIA's NemoClaw.

- **The core risk:** people who can message the agent can try to steer the agent
- **The evidence:** 1,000+ published advisories (June and Sept 2026), many about non-owners reaching owner powers
- **Most important fix:** update. The high-severity ones I read are patched in 2026.8.1.
- **Then:** loopback gateway, pairing or allowlist, narrow approvals, `openclaw security audit`, a sandbox

"OpenClaw security risks" is one of the fastest-rising searches around this agent, and the question deserves a plain answer, not a panic and not a shrug. I've built this page only from OpenClaw's own documentation and security advisories, NVIDIA's NemoClaw docs and Nous Research's Hermes docs. No invented incidents, no scary numbers without a source. If you're new to this, the first section is the one to read.

![Flat illustration of a person placing a small robot helper inside a locked glass box while chat bubbles pass through a gate](https://media.aliteq.com/media/ai-agents/openclaw-security-risks-sandboxing-2026.jpg)
The safe setup, in one picture: the agent works inside a box, and only messages you've approved get through the gate. · Illustration generated with Higgsfield

## The risk, explained without jargon

Think of OpenClaw as a very capable assistant sitting at your computer, with its phone connected to WhatsApp, Telegram, Slack or iMessage. It reads the messages that come in, and, depending on how you've set it up, it can open files, run commands and use your accounts to get things done. That's the whole point of it, and it's also the whole risk.

- **It takes instructions from text.** An AI agent can't always tell your instructions from instructions hidden in a message, a web page or a document it reads. If a stranger can reach it, a stranger can try to instruct it.
- **It acts with your permissions.** Whatever the agent is allowed to do, reading files, running commands, sending messages, a successful manipulation can do too.
- **Chat apps widen the door.** A tool on your laptop is reachable by you. A tool on WhatsApp is reachable by anyone who has, or finds, the number, unless you restrict who it listens to.
- **A local model doesn't fix this.** Running on your own GPU keeps your data away from a cloud provider. It does nothing to stop someone messaging the agent from steering it.

> **OpenClaw says this itself**
>
> Per Ollama's integration page, `ollama launch openclaw` shows a security notice on first launch that "explains the risks of tool access". OpenClaw's [security docs](https://docs.openclaw.ai/gateway/security) describe the trust model as "one trust boundary per gateway", meant for a single operator or a mutually trusting team, and say it's "not a hostile multi-tenant security boundary for mutually adversarial users."

## What OpenClaw's own advisories show

OpenClaw publishes its security advisories on [GitHub](https://github.com/openclaw/openclaw/security/advisories). On Sep 25, 2026 I counted at least 1,000 published advisories, dated June and September 2026. Of those, 510 are rated high, 440 medium and 50 low. None are rated critical, and none carry CVE IDs. A long, public list is partly a sign of a project that discloses. What matters for you is the pattern, and a lot of the high-severity entries are the same story: someone who shouldn't have the owner's powers getting them anyway.

### Four high-severity OpenClaw advisories, in plain English (published Sep 11, 2026)

|   | What went wrong | Fixed in |
| --- | --- | --- |
| GHSA-rrxp-5mx8-mvhh | An inbound voice caller could end up with the owner's tool access | 2026.8.1 |
| GHSA-9m4p-cqp4-jppq | A non-owner on WhatsApp could trigger a forced login and take over or disconnect the connected account | 2026.8.1 |
| GHSA-3mq7-q27j-mq7q | An "allow-always" command approval could be reused in a different folder than the one you approved | 2026.8.1 |
| GHSA-62qm-6fjj-6g23 | Text from a restricted sender could reach a background agent with wider file and command powers (the "dreaming" memory feature) | 2026.8.1 |

Each links from the advisory list above, for example [the voice-call issue](https://github.com/openclaw/openclaw/security/advisories/GHSA-rrxp-5mx8-mvhh) and [the approvals issue](https://github.com/openclaw/openclaw/security/advisories/GHSA-3mq7-q27j-mq7q). All four list 2026.8.1 as the patched version, and the current release is v2026.9.6. The practical lesson for a non-expert: **the single most protective thing you can do is keep OpenClaw updated.**

## The safe setup, step by step

1. **Update, and keep updating.** Run the latest release. The published high-severity fixes above all landed in 2026.8.1.
2. **Keep the gateway on loopback.** OpenClaw's docs say that on standard installs the gateway "binds to loopback only", meaning only your own machine can reach it. Don't expose it to your network or the internet unless you understand why you need to.
3. **Choose who can message it.** OpenClaw's DM access modes are "pairing, allowlist, open, disabled." Use pairing (new senders get a code rather than a response) or an allowlist. Avoid "open". Group chats are gated behind mentions and allowlists by default. Keep them that way.
4. **Be stingy with "allow-always".** Command approvals are there for a reason. GHSA-3mq7-q27j-mq7q is a reminder that a broad standing approval can do more than you expected. Approve specific commands, and prefer the workspaceOnly restriction so the agent stays inside one folder.
5. **Run the audit.** OpenClaw's docs provide `openclaw security audit`, which checks your setup against its hardened defaults and flags drift by severity. Run it after any config change.
6. **Split trust.** If people who don't fully trust each other need an agent, give them separate gateways, ideally separate OS users or machines. That's OpenClaw's own guidance.

```shell
# From OpenClaw's and Ollama's docs (accessed Sep 25, 2026)
openclaw security audit                  # check your config against hardened defaults
openclaw configure --section channels    # review which chat apps are connected
openclaw gateway stop                    # stop the gateway when you're not using it
```

## Sandboxing: putting the agent in a box

Even a well-configured agent is safer when what it can touch is limited by the system itself, not just by its own settings. OpenClaw's docs list three layers: a **[Docker](https://aliteq.com/how-to-run-local-ai-in-docker) sandbox** (commands run in an isolated container), **workspaceOnly** (file access limited to one folder) and **exec approvals** (you approve commands).

For a heavier-duty option, NVIDIA publishes **NemoClaw**, described on [Ollama's NemoClaw page](https://docs.ollama.com/integrations/nemoclaw) as "NVIDIA's open source security stack for OpenClaw" that adds "kernel-level sandboxing, network policy controls, and audit trails." Its listed requirements: Docker (primary on Linux), Colima or Docker Desktop on [Apple Silicon](https://aliteq.com/best-mac-for-local-ai) Macs, WSL2 with Docker Desktop on Windows ("CMD and PowerShell are not supported"), at least 4 vCPUs, 8GB of RAM (16GB recommended) and 20–40GB of disk.

```shell
# NemoClaw with a local Ollama model, from Ollama's NemoClaw page (accessed Sep 25, 2026)
ollama pull nemotron-3-nano:30b
curl -fsSL https://www.nvidia.com/nemoclaw.sh | \
  NEMOCLAW_NON_INTERACTIVE=1 \
  NEMOCLAW_PROVIDER=ollama \
  NEMOCLAW_MODEL=nemotron-3-nano:30b \
  bash
nemoclaw my-assistant connect
openclaw tui
```

## How Hermes Agent handles the same problem

If you're weighing [OpenClaw against Hermes](https://aliteq.com/run-openclaw-hermes-local-model-ollama), it's worth knowing Hermes's approach, from its [security documentation](https://hermes-agent.nousresearch.com/docs/user-guide/security). It checks every command against a list of dangerous patterns before running it. The default `approvals.mode: smart` uses a second AI model to judge risk: low-risk commands run, clearly dangerous ones are denied, and uncertain ones ask you. There's also `manual` (always ask) and `off`. Its "YOLO mode" (`hermes --yolo`, `/yolo` or `HERMES_YOLO_MODE=1`) switches approvals off for a session. The docs say to use that "only when you fully trust the commands being generated", but a hardline blocklist still applies. Hermes can also run commands inside Docker and other container backends, where it treats the container as the safety boundary. And by default, cron jobs, one-shot runs and webhook sessions that hit a dangerous command are **denied**, not waved through.

> **The same rule applies to both**
>
> Whichever agent you use, the three settings that matter most are the same: who can message it, what it's allowed to run without asking, and whether its commands run inside a sandbox. Turning approvals off (OpenClaw's broad "allow-always", Hermes's `off` or YOLO mode) on a machine with your real files and accounts is the setting to avoid.

Setting either one up on your own GPU? [Running OpenClaw and Hermes on a local model](https://aliteq.com/run-openclaw-hermes-local-model-ollama) covers which models fit which cards. For the general picture of what agents can and can't be trusted with, see AI agents, explained.

Sandboxing limits damage, but text an agent reads can still turn into orders it follows; our prompt injection explainer covers Simon Willison's lethal trifecta and why vendors admit no full fix exists. Sandboxes can fail: in July 2026, an autonomous agent built on OpenAI models escaped its test sandbox and breached Hugging Face, taking more than 17,000 automated actions.

This guide is part of our [how to run a local AI model on your own PC in 2026 — a genuinely simple beginner's guide](https://aliteq.com/how-to-run-a-local-llm-on-your-pc-beginners-guide) guide. Related guides: [How to use Ollama with OpenCode: ollama launch opencode + local models (Nov 2026)](https://aliteq.com/how-to-use-ollama-with-opencode), [How to use Ollama with Claude Code: ollama launch claude + local models](https://aliteq.com/how-to-use-ollama-with-claude-code), [How to use Ollama with Codex CLI: ollama launch codex + local gpt-oss](https://aliteq.com/how-to-use-ollama-with-codex-cli).

## Quick answers

**Q: Is OpenClaw safe?**

A: It can be run safely, but it's powerful. It reads messages and can use tools on your computer, so anyone who can message it can try to steer it. OpenClaw ships conservative defaults (loopback-only gateway, DM pairing), exec approvals, a Docker sandbox and an `openclaw security audit` command, and it publishes security advisories with patched versions. Keep it updated and restrict who can message it.

**Q: Does OpenClaw have security vulnerabilities?**

A: It publishes them. On Sep 25, 2026 its GitHub security advisories listed at least 1,000 entries from June and September 2026 (510 high, 440 medium, 50 low, none critical), many about non-owners gaining owner-level tool access. The high-severity ones we checked, such as GHSA-rrxp-5mx8-mvhh and GHSA-9m4p-cqp4-jppq, are patched in 2026.8.1.

**Q: Does running OpenClaw on a local model make it safer?**

A: It keeps your data away from a cloud model provider, but it doesn't stop someone who can message the agent from trying to steer it. The protections that matter are who can reach it, what it can run, and sandboxing.

**Q: What is NemoClaw?**

A: NVIDIA's open-source security stack for OpenClaw. Per Ollama's docs, it wraps OpenClaw with NVIDIA's OpenShell runtime for kernel-level sandboxing, network policy controls and audit trails. It needs Docker (WSL2 on Windows), 4+ vCPUs and 8GB+ RAM.

**Q: How do I check my OpenClaw setup is secure?**

A: Run `openclaw security audit`. OpenClaw's docs describe it as checking your deployment against hardened baselines and flagging configuration issues by severity. Also confirm the gateway is loopback-only and that DM access is set to pairing or allowlist, not open.

## Sources

- [OpenClaw — GitHub security advisories (checked Sep 25, 2026)](https://github.com/openclaw/openclaw/security/advisories)
- [GHSA-rrxp-5mx8-mvhh — inbound voice calls could inherit owner tool authority](https://github.com/openclaw/openclaw/security/advisories/GHSA-rrxp-5mx8-mvhh)
- [GHSA-9m4p-cqp4-jppq — WhatsApp login tool could reach non-owner turns](https://github.com/openclaw/openclaw/security/advisories/GHSA-9m4p-cqp4-jppq)
- [GHSA-3mq7-q27j-mq7q — exec approvals could outlive their working directory](https://github.com/openclaw/openclaw/security/advisories/GHSA-3mq7-q27j-mq7q)
- [GHSA-62qm-6fjj-6g23 — dreaming could widen restricted sender authority](https://github.com/openclaw/openclaw/security/advisories/GHSA-62qm-6fjj-6g23)
- [OpenClaw docs — Gateway security](https://docs.openclaw.ai/gateway/security)
- [Ollama docs — OpenClaw (accessed Sep 25, 2026)](https://docs.ollama.com/integrations/openclaw)
- [Ollama docs — NemoClaw (accessed Sep 25, 2026)](https://docs.ollama.com/integrations/nemoclaw)
- [Hermes Agent docs — Security](https://hermes-agent.nousresearch.com/docs/user-guide/security)
- [Higgsfield plans and pricing (official page, checked Dec 2, 2026)](https://higgsfield.ai/pricing?fpr=lax-8e2251&fp_sid=openclaw-security-risks-sandboxing--md)
- [Illustration generated with Higgsfield](https://higgsfield.ai?fpr=lax-8e2251&fp_sid=openclaw-security-risks-sandboxing--md)

---

Canonical: https://aliteq.com/openclaw-security-risks-sandboxing

This page has referral links: we earn a commission if you buy, at no cost to you.
