GHSA-56pc-6hvp-4gv4

Suggest an improvement
Source
https://github.com/advisories/GHSA-56pc-6hvp-4gv4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-56pc-6hvp-4gv4/GHSA-56pc-6hvp-4gv4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-56pc-6hvp-4gv4
Aliases
Downstream
Published
2026-03-03T19:57:23Z
Modified
2026-03-13T10:47:38.325666Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw vulnerable to arbitrary file read via $include directive
Details

Vulnerability

Path traversal in config $include resolution allowed arbitrary local file reads outside the config directory boundary (CWE-22).

Attack Vectors

  1. If an attacker can modify OpenClaw config, they can set $include to absolute paths (for example /etc/passwd) and read files accessible to the OpenClaw process.
  2. If an attacker can modify OpenClaw config, they can use traversal paths (for example ../../...) to escape the config directory.
  3. If an attacker can create symlinks inside the config directory, they can point includes to external files unless real-path checks are enforced.
  4. Impact scope is bounded by the file permissions of the OpenClaw runtime user; this is not an unauthenticated remote-only vector by itself.

Impact

A successful exploit can expose local secrets and credentials readable by the OpenClaw process user, including API keys and private config material.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Vulnerable versions: <=2026.2.15
  • Patched versions: >=2026.2.17

Fix Commit(s)

  • d1c00dbb7c64a39e205464dae7f2a068420e91c1

Release Process Note

Patched version is pre-set to 2026.2.17. Once npm release 2026.2.17 is available, this advisory is ready to publish.

OpenClaw thanks @aether-ai-agent for reporting.

Database specific
{
    "nvd_published_at": "2026-03-11T14:16:28Z",
    "github_reviewed_at": "2026-03-03T19:57:23Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2026.2.17

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-56pc-6hvp-4gv4/GHSA-56pc-6hvp-4gv4.json"