Vulnerabilities in pkg:npm/@axonflow/openclaw

PACKAGE
Advisory Summary

GHSA-cqmh-pcgr-q42f is a MODERATE (CVSS 5.5) @axonflow/openclaw fix introduces plugin cache vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting @axonflow/openclaw libraries in the npm ecosystem. The issue involves @axonflow/openclaw fix introduces plugin cache and credential-file permission hardening. Remediation is available by upgrading affected packages to version 2.0.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@axonflow/openclaw

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@axonflow/openclaw. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-cqmh-pcgr-q42f - MODERATE @axonflow/openclaw fix introduces plugin cache and credential-file permission hardening

GHSA-cqmh-pcgr-q42f at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-cqmh-pcgr-q42f
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-552: Files or Directories Accessible to External Parties
Affected Product @axonflow/openclaw
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

Attack Vector Local (AV:L)
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-cqmh-pcgr-q42f

To remediate this vulnerability, upgrade all affected @axonflow/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.

@axonflow/openclaw fixed: 2.0.0
npm install @axonflow/openclaw@2.0.0
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 @axonflow/openclaw

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-cqmh-pcgr-q42f, inspect your project dependencies using npm:

npm ls @axonflow/openclaw

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

Note: The npm ls @axonflow/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-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In @axonflow/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 Two related permission defects in this AxonFlow plugin allowed registration credentials and cache state to be readable by other local users on hosts where the calling user's home directory was at the conventional `0755` mode. ## Affected versions Versions 1.3.2 and below. ## Impact 1. **Cache and config directory mode.** The plugin's directories under `~/.config/axonflow/` and `~/.cache/axonflow/` were created with the umask-derived default mode (often `0755`) on first use and not subsequently re-validated. On systems where `~/.config/` is itself `0755`, the plugin's registration record (including a hashed credential and `instance_id`) was traversable by other local users. 2. **Credential file mode at load time.** The plugin loaded its `try-registration.json` credential file without validating that the file mode was `0600`. A registration file written by a misconfigured tool, copied across systems, or restored from backup could end up world-readable, and the plugin would silently use it. The fix restores `0700` on all plugin directories on every plugin invocation (not only first creation) and refuses to load credential files with non-`0600` modes. ## Remediation Upgrade to the patched plugin version listed under Vulnerabilities. On startup the plugin will repair existing directory modes; existing credential files with overly permissive modes will be refused, requiring the user to re-register or `chmod 0600` the file. ## Credit Identified by AxonFlow internal security review.

GHSA-cqmh-pcgr-q42f Affected @axonflow/openclaw Versions

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

References

Frequently Asked Questions

What is GHSA-cqmh-pcgr-q42f?
GHSA-cqmh-pcgr-q42f is a security vulnerability in @axonflow/openclaw involving @axonflow/openclaw fix introduces plugin cache and credential-file permission hardening under CWE-552: Files or Directories Accessible to External Parties.
Which @axonflow/openclaw versions are affected?
Affected versions include releases prior to 2.0.0 across affected packages: @axonflow/openclaw.
What version fixes GHSA-cqmh-pcgr-q42f?
Upgrading to 2.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @axonflow/openclaw affected?
Yes, @axonflow/openclaw is affected in releases prior to 2.0.0. Upgrade your dependency to 2.0.0 or later.
What is the CVSS score of GHSA-cqmh-pcgr-q42f?
GHSA-cqmh-pcgr-q42f has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-cqmh-pcgr-q42f?
GHSA-cqmh-pcgr-q42f is classified under CWE-552: Files or Directories Accessible to External Parties (The product makes files or directories accessible to unauthorized actors, even though they should not be.).
How can I check npm dependencies for GHSA-cqmh-pcgr-q42f?
Run the dependency tree command: 'npm ls @axonflow/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-cqmh-pcgr-q42f",
  "modified" : "2026-05-06T23:23:25Z",
  "published" : "2026-05-06T23:23:25Z",
  "aliases" : [ ],
  "summary" : "@axonflow/openclaw fix introduces plugin cache and credential-file permission hardening",
  "details" : "## Summary\n\nTwo related permission defects in this AxonFlow plugin allowed registration credentials and cache state to be readable by other local users on hosts where the calling user's home directory was at the conventional `0755` mode.\n\n## Affected versions\n\nVersions 1.3.2 and below.\n\n## Impact\n\n1. **Cache and config directory mode.** The plugin's directories under `~/.config/axonflow/` and `~/.cache/axonflow/` were created with the umask-derived default mode (often `0755`) on first use and not subsequently re-validated. On systems where `~/.config/` is itself `0755`, the plugin's registration record (including a hashed credential and `instance_id`) was traversable by other local users.\n2. **Credential file mode at load time.** The plugin loaded its `try-registration.json` credential file without validating that the file mode was `0600`. A registration file written by a misconfigured tool, copied across systems, or restored from backup could end up world-readable, and the plugin would silently use it.\n\nThe fix restores `0700` on all plugin directories on every plugin invocation (not only first creation) and refuses to load credential files with non-`0600` modes.\n\n## Remediation\n\nUpgrade to the patched plugin version listed under Vulnerabilities. On startup the plugin will repair existing directory modes; existing credential files with overly permissive modes will be refused, requiring the user to re-register or `chmod 0600` the file.\n\n## Credit\n\nIdentified by AxonFlow internal security review.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@axonflow/openclaw"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/getaxonflow/axonflow-openclaw-plugin/security/advisories/GHSA-cqmh-pcgr-q42f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/getaxonflow/axonflow-openclaw-plugin"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-552", "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T23:23:25Z",
    "nvd_published_at" : null
  }
}