GHSA-4564-pvr2-qq4h

Suggest an improvement
Source
https://github.com/advisories/GHSA-4564-pvr2-qq4h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-4564-pvr2-qq4h/GHSA-4564-pvr2-qq4h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4564-pvr2-qq4h
Aliases
Published
2026-02-18T17:39:00Z
Modified
2026-02-23T23:43:52.252158Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
Summary
OpenClaw: Prevent shell injection in macOS keychain credential write
Details

Summary

On macOS, the Claude CLI keychain credential refresh path constructed a shell command to write the updated JSON blob into Keychain via security add-generic-password -w .... Because OAuth tokens are user-controlled data, this created an OS command injection risk.

The fix avoids invoking a shell by using execFileSync("security", argv) and passing the updated keychain payload as a literal argument.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Platform: macOS only
  • Affected versions: <= 2026.2.13

Fix

  • Patched version: >= 2026.2.14 (next release)
  • Fix PR: #15924
  • Fix commits (merged to main):
    • 9dce3d8bf83f13c067bc3c32291643d2f1f10a06
    • 66d7178f2d6f9d60abad35797f97f3e61389b70c
    • b908388245764fb3586859f44d1dff5372b19caf

Thanks @aether-ai-agent for reporting.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-18T17:39:00Z",
    "nvd_published_at": "2026-02-21T10:16:13Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-4564-pvr2-qq4h/GHSA-4564-pvr2-qq4h.json"