CVE-2026-53856: OpenClaw: Config recovery could restore openclaw.json with broad file permissions
OpenClaw 2026.4.23 has a config recovery path that can restore `openclaw.json` with broader file permissions than intended after a configuration repair. Other users on the same host may then read your OpenClaw configuration. Fixed in 2026.4.24.
Published Jun 18, 2026 · Analysis Oct 26, 2026
What an attacker can do
When OpenClaw repairs a broken configuration, a local recovery path writes openclaw.json back. In the affected version the restored file kept looser permissions than the original (CWE-276, incorrect default permissions).
The attacker is another local account on the same machine. They need no special privileges beyond a login, and no user interaction is needed. If the file mode lets group or world read it, they can read the configuration. The CVSS vectors rate confidentiality impact as high and integrity and availability as none. openclaw.json can hold channel settings, allowlists and provider credentials or tokens, so a read can lead to use of those accounts.
This is a concern on shared hosts, such as a team server or a shared development box. On a single-user machine the file is not exposed to anyone else. The advisory keeps OpenClaw's trusted-operator model.
Who is affected
The npm package openclaw version 2026.4.23, per the package data (= 2026.4.23). Check the installed version and the file mode:
npm ls openclaw
ls -l ~/.openclaw/openclaw.jsonThe default location of the config file is our assumption; use the path your install uses. Only hosts with several local users carry real risk.
openclaw
- Ecosystem
- npm
- Affected
- = 2026.4.23
- Fixed in
- 2026.4.24
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.4.24, the first stable patched version:
npm install [email protected]Then tighten the file mode, for example chmod 600 on openclaw.json, and rotate any secrets it holds if the file was readable by others. Until you upgrade, check openclaw.json permissions after every recovery on shared hosts.
How to tell if you were hit
Check the mode of openclaw.json for group or world read bits after any configuration repair or recovery. Look at the file's modification time to see when it was last restored. If other users had accounts on the host while it was readable, treat the tokens and keys in it as exposed.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Config recovery could restore openclaw.json with broad file permissions. In affected versions, a local recovery path after configuration repair could leave the restored config file more readable than intended.
This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.
Impact
When the affected feature is enabled and reachable, this could expose local configuration to other same-host users where OS permissions allow it. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.
Patched Versions
The first stable patched version is 2026.4.24.
Mitigations
check openclaw.json permissions after recovery on shared hosts until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.
Credited to Kaze310.
Questions
- Is this exploitable remotely?
No. The CVSS vectors give a local attack vector with low privileges: another account on the same host has to read the file.
- Which version fixes CVE-2026-53856?
openclaw 2026.4.24. The affected version listed is 2026.4.23.
- Do I need to rotate secrets?
If the restored file was readable by other users on a shared host, treat credentials stored in it as exposed and rotate them. On a single-user machine there is no extra exposure.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
