GHSA-p2fh-f5fc-44hr: OpenClaw Memory-wiki Ingest Could Read Local Vulnerability

MODERATE
CVSS 6.5
CWE-732
Published
Advisory Summary

GHSA-p2fh-f5fc-44hr is a MODERATE (CVSS 6.5) memory-wiki ingest could read local vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting OpenClaw libraries in the npm ecosystem. The issue involves memory-wiki ingest could read local files with operator.write scope. Remediation is available by upgrading affected packages to version 2026.5.12.

GHSA-p2fh-f5fc-44hr at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-p2fh-f5fc-44hr
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product OpenClaw
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-p2fh-f5fc-44hr

To remediate this vulnerability, upgrade all affected OpenClaw dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openclaw fixed: 2026.5.12
npm install openclaw@2026.5.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls openclaw

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-p2fh-f5fc-44hr, inspect your project dependencies using npm:

npm ls openclaw

Analyze the terminal output to locate any version of OpenClaw in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.5.12), your application is affected.

Note: The npm ls openclaw command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In OpenClaw, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary memory-wiki ingest could read local files with operator.write scope. In affected versions, a Gateway caller with `operator.write` access to the plugin tool could read arbitrary local file paths instead of staying within the intended ingest sources. 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 import local file content into wiki memory. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path. ### Resolution Update to a patched OpenClaw release when one is listed for this advisory. If the Patched versions field is populated, use that version or later. ### Mitigations limit memory-wiki write access to trusted operators 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.

GHSA-p2fh-f5fc-44hr Affected OpenClaw Versions

1 component(s)
Fixed Versions:
2026.5.12
Product / Package Ecosystem Affected Versions Fixed Version
openclaw
npm
< 2026.5.12
2026.5.12

References

Frequently Asked Questions

What is GHSA-p2fh-f5fc-44hr?
GHSA-p2fh-f5fc-44hr is a security vulnerability in OpenClaw involving memory-wiki ingest could read local files with operator.write scope under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which OpenClaw versions are affected?
Affected versions include releases prior to 2026.5.12 across affected packages: openclaw.
What version fixes GHSA-p2fh-f5fc-44hr?
Upgrading to 2026.5.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openclaw affected?
Yes, openclaw is affected in releases prior to 2026.5.12. Upgrade your dependency to 2026.5.12 or later.
What is the CVSS score of GHSA-p2fh-f5fc-44hr?
GHSA-p2fh-f5fc-44hr has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-p2fh-f5fc-44hr?
GHSA-p2fh-f5fc-44hr is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check npm dependencies for GHSA-p2fh-f5fc-44hr?
Run the dependency tree command: 'npm ls openclaw'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p2fh-f5fc-44hr",
  "modified" : "2026-07-02T16:18:02Z",
  "published" : "2026-07-02T16:18:02Z",
  "aliases" : [ ],
  "summary" : "OpenClaw: memory-wiki ingest could read local files with operator.write scope",
  "details" : "### Summary\n\nmemory-wiki ingest could read local files with operator.write scope. In affected versions, a Gateway caller with `operator.write` access to the plugin tool could read arbitrary local file paths instead of staying within the intended ingest sources.\n\nThis 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.\n\n### Impact\n\nWhen the affected feature is enabled and reachable, this could import local file content into wiki memory. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.\n\n### Resolution\n\nUpdate to a patched OpenClaw release when one is listed for this advisory. If the Patched versions field is populated, use that version or later.\n\n### Mitigations\n\nlimit memory-wiki write access to trusted operators 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "openclaw"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2026.5.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-p2fh-f5fc-44hr"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openclaw/openclaw"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-02T16:18:02Z",
    "nvd_published_at" : null
  }
}