GHSA-cqmh-pcgr-q42f

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqmh-pcgr-q42f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-cqmh-pcgr-q42f/GHSA-cqmh-pcgr-q42f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqmh-pcgr-q42f
Published
2026-05-06T23:23:25Z
Modified
2026-05-06T23:36:35Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
@axonflow/openclaw fix introduces plugin cache and credential-file permission hardening
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-552",
        "CWE-732"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-06T23:23:25Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / @axonflow/openclaw

Package

Name
@axonflow/openclaw
View open source insights on deps.dev
Purl
pkg:npm/%40axonflow/openclaw

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-cqmh-pcgr-q42f/GHSA-cqmh-pcgr-q42f.json"