Vulnerabilities in pkg:npm/@axonflow/openclaw
PACKAGEGHSA-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.
pkg:npm/@axonflow/openclaw
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
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).
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.
npm install @axonflow/openclaw@2.0.0
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
GHSA-cqmh-pcgr-q42f Affected @axonflow/openclaw Versions
1 component(s)| 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?
Which @axonflow/openclaw versions are affected?
What version fixes GHSA-cqmh-pcgr-q42f?
Is @axonflow/openclaw affected?
What is the CVSS score of GHSA-cqmh-pcgr-q42f?
What CWE is associated with GHSA-cqmh-pcgr-q42f?
How can I check npm dependencies for GHSA-cqmh-pcgr-q42f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}