GHSA-94pw-c6m8-p9p9
GHSA-94pw-c6m8-p9p9 is a CWE-862 vulnerability in openclaw. O3 Security confirms whether GHSA-94pw-c6m8-p9p9 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
OpenClaw: Gateway operator.write Can Reach Admin-Class Channel Allowlist Persistence via chat.send
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-94pw-c6m8-p9p9.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
openclawnpmDescription
Fixed in OpenClaw 2026.3.24, the current shipping release.
Summary
The shared /allowlist command persists channel authorization config through writeConfigFile(...) but does not re-validate gateway client scopes for internal gateway callers. Because chat.send is intentionally reachable to operator.write callers and still creates a generic command-authorized internal context, an authenticated write-scoped gateway client can indirectly mutate channel allowFrom and groupAllowFrom policy that direct config.patch correctly reserves to operator.admin.
This is not just a generic code smell. The current code already shows the intended boundary by adding sink-side internal admin checks to shared /config and /plugins writes, but /allowlist was left behind.
Details
The gateway's documented scope split is clear:
chat.sendis a write-scoped action.- direct config mutation is an admin-scoped action.
The vulnerable path is:
- A gateway client authenticates with
operator.write. - The client calls
chat.send, which is intentionally allowed for that scope. chat.sendbuilds an internal message context withCommandAuthorized: trueand carriesGatewayClientScopesinto the reply pipeline.resolveCommandAuthorization(...)converts that internal message intoisAuthorizedSender=truein the common case where no strictercommands.allowFromoverride is configured./allowlist add|removeaccepts that generic command authorization and proceeds into its config-backed edit path.- The handler clones the parsed config, calls
plugin.allowlist.applyConfigEdit(...), validates the result, and persists it withwriteConfigFile(validated.config). - No sink-side check requires
operator.adminbefore the persistent write occurs.
That creates a direct control-plane mismatch:
config.patchrejects the same caller withmissing scope: operator.admin./allowlist add dm ...or/allowlist add group ...reached throughchat.sendcan still rewrite channel authorization state.
Impact
- A gateway client intentionally limited to
operator.writecan persist first-party channel authorization policy. - The caller can widen DM or group allowlists for channels using the shared
/allowlistplumbing. - This weakens the repo's documented control-plane privilege split between ordinary write actions and admin-only persistent authorization mutation.
Remediation
1) Add the Missing Sink-Side Internal Admin Check to /allowlist
Mirror the existing hardened pattern from /config and /plugins.
Before any config-backed /allowlist add|remove write, require:
operator.adminfor internal gateway channels
This should happen before plugin.allowlist.applyConfigEdit(...) and before writeConfigFile(...).
2) Keep Pairing-Store and Config-Write Policy Checks, but Do Not Treat Them as Scope Enforcement
configWrites policy and pairing-store behavior are useful secondary controls, but they do not replace the missing privilege check between operator.write and operator.admin.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | openclaw | all versions | 2026.3.24 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for openclaw. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update openclaw to 2026.3.24 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-94pw-c6m8-p9p9 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-94pw-c6m8-p9p9 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-94pw-c6m8-p9p9. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-94pw-c6m8-p9p9 in your dependencies?
O3 detects GHSA-94pw-c6m8-p9p9 across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.