GHSA-cqmh-pcgr-q42f — @axonflow/openclaw
MEDIUMGHSA-cqmh-pcgr-q42f is a medium-severity (CVSS 5.5) vulnerability in @axonflow/openclaw. A fix is available for @axonflow/openclaw — see the affected versions and patch details below.
@axonflow/openclaw fix introduces plugin cache and credential-file permission hardening
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@axonflow/openclawnpmDescription
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
- Cache and config directory mode. The plugin's directories under
~/.config/axonflow/and~/.cache/axonflow/were created with the umask-derived default mode (often0755) on first use and not subsequently re-validated. On systems where~/.config/is itself0755, the plugin's registration record (including a hashed credential andinstance_id) was traversable by other local users. - Credential file mode at load time. The plugin loaded its
try-registration.jsoncredential file without validating that the file mode was0600. 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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @axonflow/openclaw | all versions | 2.0.0npm install @axonflow/openclaw@2.0.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @axonflow/openclaw, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @axonflow/openclaw to 2.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cqmh-pcgr-q42f is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-cqmh-pcgr-q42f can be triaged on real exposure rather than presence alone.
Tailored to GHSA-cqmh-pcgr-q42f. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-cqmh-pcgr-q42f in your dependencies?
O3 Security finds GHSA-cqmh-pcgr-q42f across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.