AgentStackWatch

Guides · Security

Is OpenClaw safe?

The open-source agent's real setup risks, what its security advisories and release notes say got fixed, and the checklist we'd follow before connecting it to anything that matters.

Short answer. OpenClaw can be run safely, but it is not safe by accident. It ships with conservative defaults11, publishes its security fixes as public advisories12, and gives you a built-in audit command11. It also runs with "full system access" unless you sandbox it13, and its maintainers say plainly that anyone who can operate an agent can make it do anything that agent can do14. Run it on its defaults, on the latest release, with tools locked down, and it's a reasonable choice for a technical user. Don't hand it to a non-technical team as-is.

What OpenClaw is, and why safety is your job

OpenClaw is a free, MIT-licensed, self-hosted personal assistant that you reach from WhatsApp, Telegram, Slack, iMessage and other chat apps13. It can handle your inbox and calendar, browse and fill forms, and run on your own machine where state stays local13. There's no vendor cloud and no subscription13, which is the appeal. It also means there's no vendor security team standing between the agent and your accounts. You are the operator.

The real setup risks

  • Full system access. Out of the box it can act with your computer's permissions unless you sandbox it13.
  • Exposed Gateways. A normal host install binds the Gateway to loopback (this machine only). Container images are the deliberate exception: they default to an exposed bind, which you must pair with authentication11.
  • Shared agents aren't isolated. OpenClaw assumes one trusted boundary per Gateway and is "not a hostile multi-tenant security boundary"11. Session ownership and visibility are "usability features, not security boundaries"14.
  • Cross-conversation messaging. Agents with the message tool can send across conversations and chat providers by default11.
  • Defaults that widened. In 2026.9.2, session tools moved to all-session visibility and ordinary agent-to-agent access was switched on; you set tools.sessions.visibility to agent or self to narrow it15.
  • Prompt injection is on you. The project's security policy says prompt injection without a policy, approval, sandbox or tool-boundary bypass is usually not treated as a vulnerability, and neither is a malicious plugin you chose to install14. Limiting tools is how you contain it.

The security track record, in numbers

OpenClaw publishes its vulnerabilities as GitHub security advisories12. When we queried GitHub on 17 Oct 2026, it returned 722 published advisories dated 31 Jan to 11 Sep 2026: 14 critical, 249 high, 390 medium and 69 low. Most landed in February (220) and March (204), falling to 45 in June and 75 in September. A big project that discloses openly will log more advisories than one that doesn't, but this is still a lot of surface to keep patched.

The critical ones were serious, and each lists a fixed version. Examples: remote code execution through a node-invoke approval bypass, fixed in 2026.2.1416; path traversal in plugin installation, fixed in 2026.2.117; pairing-scoped device tokens that could mint admin rights and reach code execution, fixed in 2026.3.1118; a sandbox escape via a race condition, fixed in 2026.3.3119; and a .env injection allowing config takeover, fixed in 2026.3.2820. If you're running a release from early 2026, update now. The current release is 2026.10.4.

Whether any of these was exploited in the wild: unknown. The advisories we read don't say.

Recent security fixes from the release notes

ReleaseDateWhat changed
2026.10.416 Oct 2026Tlon group DMs no longer treat other participants as the owner, "closing an owner-impersonation path"1.
2026.9.33 (extended-stable)15 Oct 2026OpenClaw's LTS-equivalent line: the end-of-September code "plus critical security updates"2.
2026.10.212 Oct 2026Fixed credential leaks when a secret crossed a chunk boundary in long tool output; secret redaction no longer stalls on large text3.
2026.8.35 / 2026.8.33Sep–Oct 2026Security rollup that "reconcile[s] all repository advisories that affect 2026.8.2", Prometheus metrics authorization hardening, and a Nodemailer upgrade clearing a denial-of-service advisory4; secret-store and cron tool-allowlist hardening5.
2026.7.3521 Sep 2026Hardened command parsing, browser origin checks, plugin Git installs (git specs can no longer inject options) and webhook logging6.
2026.9.38 Sep 2026Setup now generates a local Gateway token by default7. Breaking: requires Node 24.16+ or 26.1+ to prevent SQLite text truncation7.
2026.9.13 Sep 2026config.get no longer returns unredacted snapshots; systemd unit backups no longer leak Gateway tokens; iOS omits deep-link URLs from logs8.
2026.8.131 Aug 2026Agents can request a credential through a masked prompt that keeps the value out of chat and model context; ClawHub shows security-audit information before a plugin install9.
2026.6.338 Aug 2026Codex app-server commands require an actual human or plugin approval; exec auto-review is bound to the exact resolved command; the Gateway rejects disallowed browser origins before unauthenticated handling10.

Our breaking-changes tracker flags OpenClaw releases that need migration work, and the OpenClaw page shows the latest version daily.

How to run OpenClaw safely: a checklist

  1. Run the audit. openclaw security audit tells you if you've drifted from safe defaults11.
  2. Keep the Gateway local (loopback bind) with token auth. Never expose a container's Gateway without authentication1121.
  3. Lock down tools. Start from the project's hardened baseline below: messaging-only tool profile, file access limited to the workspace, shell execution denied or always-ask, elevated mode off, no agent-to-agent access21.
  4. Pair DMs and gate groups. Unknown senders get a pairing code; group replies require a mention21.
  5. Use a separate number for WhatsApp, Signal or Telegram so personal chats stay out of the bot's reach21.
  6. Split trust. For people who don't fully trust each other, use separate Gateways and credentials, ideally separate OS users or hosts11.
  7. Update on a schedule. If you want fewer surprises, follow the extended-stable line, which carries critical security updates2.
  8. Treat plugins as code you run. Check ClawHub's security-audit information before installing9.

The 60-second hardened baseline from OpenClaw's docs21:

{
  gateway: {
    mode: "local",
    bind: "loopback",
    auth: { mode: "token", token: "replace-with-long-random-token" },
  },
  session: { dmScope: "per-channel-peer" },
  tools: {
    profile: "messaging",
    deny: ["group:automation", "group:runtime", "group:fs", "sessions_spawn", "sessions_send"],
    fs: { workspaceOnly: true },
    exec: { security: "deny", ask: "always" },
    elevated: { enabled: false },
    sessions: { visibility: "agent" },
    agentToAgent: { enabled: false },
  },
  channels: {
    whatsapp: { dmPolicy: "pairing", groups: { "*": { requireMention: true } } },
  },
}

Should you use it?

Yes, if you're comfortable with a terminal, will keep it updated, and want an assistant that lives in your chat apps with no vendor cloud. No, if you want something your team can sign up for and forget: a business plan from ChatGPT, Claude or Microsoft gives you admin controls and a vendor accountable for security (see the small-business guide). Also compare OpenClaw vs Hermes Agent, the other main self-hosted option, which offers five sandbox backends22.

FAQ

Questions people ask

Is OpenClaw safe to use?

It can be, with care. It ships with conservative defaults (local-only Gateway, DM pairing, allowlisted groups)11, but runs with full system access unless sandboxed13. Run openclaw security audit, stay on the latest release, and restrict tools.

Has OpenClaw had security vulnerabilities?

Yes. GitHub listed 722 published OpenClaw advisories between 31 Jan and 11 Sep 2026 when we checked on 17 Oct 2026, 14 of them critical, each with a fixed version12.

Is OpenClaw safe to connect to my email?

Only with tools restricted and sending under your control. Prompt injection on its own isn't treated as a vulnerability by the project14, so limiting what the agent can do is your defence.

Can several people share one OpenClaw agent safely?

Only if they trust each other. OpenClaw isn't a hostile multi-tenant boundary; use separate Gateways and credentials, ideally separate OS users or hosts11.

Does OpenClaw send my data anywhere?

State stays on your machine; only a daily version check is sent, and you can turn it off13. Your messages do go to whichever AI model provider you connect.

Keep reading

Related

More guides: Best personal AI agent for founders · Best AI agent for small business · ChatGPT vs Claude for business · How much does an AI agent cost? · AI agent for email and calendar · Best AI agent for customer support · ChatGPT agent vs Manus · Best AI agent for sales and CRM · OpenClaw vs Hermes Agent · AI agent for research · Are AI agents worth it for business? · all guides

Get the weekly agent briefing

One email a week: what shipped, what broke and what got cheaper across AI agents, plus hands-on tests on real business tasks.

Sources

Where these facts come from

We read each vendor's own pricing page, help center, docs or release notes. No review sites, no paid placement. Research and drafting were assisted by an AI agent (Grok Bot, one of the products covered); every fact was checked against the linked source.

  1. OpenClaw release notes v2026.10.4 github.com/openclaw/openclaw/releases/tag/v2026.10.4 · checked 17 Oct 2026
  2. OpenClaw release notes v2026.9.33 github.com/openclaw/openclaw/releases/tag/v2026.9.33 · checked 17 Oct 2026
  3. OpenClaw release notes v2026.10.2 github.com/openclaw/openclaw/releases/tag/v2026.10.2 · checked 17 Oct 2026
  4. OpenClaw release notes v2026.8.33 github.com/openclaw/openclaw/releases/tag/v2026.8.33 · checked 17 Oct 2026
  5. OpenClaw release notes v2026.8.35 github.com/openclaw/openclaw/releases/tag/v2026.8.35 · checked 17 Oct 2026
  6. OpenClaw release notes v2026.7.35 github.com/openclaw/openclaw/releases/tag/v2026.7.35 · checked 17 Oct 2026
  7. OpenClaw release notes v2026.9.3 github.com/openclaw/openclaw/releases/tag/v2026.9.3 · checked 17 Oct 2026
  8. OpenClaw release notes v2026.9.1 github.com/openclaw/openclaw/releases/tag/v2026.9.1 · checked 17 Oct 2026
  9. OpenClaw release notes v2026.8.1 github.com/openclaw/openclaw/releases/tag/v2026.8.1 · checked 17 Oct 2026
  10. OpenClaw release notes v2026.6.33 github.com/openclaw/openclaw/releases/tag/v2026.6.33 · checked 17 Oct 2026
  11. OpenClaw docs: Security docs.openclaw.ai/gateway/security · checked 17 Oct 2026
  12. OpenClaw published security advisories (GitHub) github.com/openclaw/openclaw/security/advisories · checked 17 Oct 2026
  13. OpenClaw homepage openclaw.ai/ · checked 16 Oct 2026
  14. OpenClaw SECURITY.md (trust model) github.com/openclaw/openclaw/blob/main/SECURITY.md · checked 17 Oct 2026
  15. OpenClaw release notes v2026.9.2 github.com/openclaw/openclaw/releases/tag/v2026.9.2 · checked 17 Oct 2026
  16. GHSA-gv46-4xfq-jv58: RCE via node invoke approval bypass github.com/openclaw/openclaw/security/advisories/GHSA-gv46-4xfq-jv58 · checked 17 Oct 2026
  17. GHSA-qrq5-wjgg-rvqw: path traversal in plugin installation github.com/openclaw/openclaw/security/advisories/GHSA-qrq5-wjgg-rvqw · checked 17 Oct 2026
  18. GHSA-4jpw-hj22-2xmc: pairing tokens could mint operator.admin github.com/openclaw/openclaw/security/advisories/GHSA-4jpw-hj22-2xmc · checked 17 Oct 2026
  19. GHSA-9p3r-hh9g-5cmg: sandbox escape via TOCTOU race github.com/openclaw/openclaw/security/advisories/GHSA-9p3r-hh9g-5cmg · checked 17 Oct 2026
  20. GHSA-8rh7-6779-cjqq: .env injection allows config takeover github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq · checked 17 Oct 2026
  21. OpenClaw docs: Hardened baselines docs.openclaw.ai/gateway/security/hardened-baseline · checked 17 Oct 2026
  22. Hermes Agent homepage hermes-agent.nousresearch.com/ · checked 16 Oct 2026