Openclaw cli: OpenClaw vulnerable to arbitrary file read via $include directive (CVE-2026-32061)
Description
OpenClaw CLI versions up to 2026.2.15 are vulnerable to a path traversal issue in the config $include directive, allowing arbitrary local file reads outside the intended config directory. This can expose sensitive local files readable by the OpenClaw process user, such as secrets and credentials. The vulnerability requires the attacker to have the ability to modify the OpenClaw configuration or create symlinks within the config directory. The issue is patched in version 2026.2.17.
CVSS v3.1
Score 4.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw CLI suffers from a path traversal vulnerability in the resolution of the config $include directive (CVE-2026-32061). An attacker with the capability to modify OpenClaw's configuration can exploit this by specifying absolute paths or traversal sequences to read arbitrary local files accessible to the OpenClaw process user. The attack vectors include setting $include to absolute paths (e.g., /etc/passwd), using directory traversal to escape the config directory, or creating symlinks inside the config directory to external files if real-path checks are not enforced. The impact is limited by the file permissions of the OpenClaw runtime user. The vulnerability affects openclaw npm package versions up to 2026.2.15 and is fixed starting from 2026.2.17.
Potential Impact
Successful exploitation allows disclosure of local files readable by the OpenClaw process user, potentially exposing sensitive information such as API keys and private configuration data. The vulnerability does not allow remote unauthenticated exploitation by itself and requires prior ability to modify configuration or create symlinks within the config directory.
Mitigation Recommendations
A patch is available in OpenClaw version 2026.2.17. Users should upgrade to this version or later to remediate the vulnerability. Until the patch is applied, restrict access to the OpenClaw configuration files and prevent unauthorized modification or symlink creation within the config directory to mitigate exploitation risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-32061
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245b812601ec6a3166bd0
Added to database: 10/04/2026, 12:25:28 UTC
Last enriched: 10/04/2026, 13:01:52 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.