GHSA-8372-7vhw-cm6q: openclaw: config redaction bypass exposes provider API keys
GHSA-8372-7vhw-cm6q HIGHopenclaw's config.get API fails to redact secrets stored under the sourceConfig and runtimeConfig alias fields, meaning any authenticated gateway client with config read access receives plaintext provider API keys, gateway auth tokens, and channel credentials in API responses. While exploitation requires prior authentication, config read is a common and low-privilege permission level — making this a realistic insider threat and post-breach lateral movement vector in AI agent gateway deployments. The same package has 135 historical CVEs and a documented malicious skills ecosystem (AIID #1368) that has already been used to exfiltrate credentials, signaling that openclaw environments are actively targeted. Upgrade to openclaw 2026.4.14 immediately and rotate all credentials configured in affected gateway instances before assuming exposure is limited.
What is the risk?
Medium-High. Exploitation requires authenticated access with config read permissions, narrowing the external attack surface, but this is a low-privilege and widely-granted capability in gateway deployments. The credential types exposed — LLM provider API keys, gateway auth material, channel credentials — carry disproportionate blast radius: a single leakage event can compromise all downstream AI provider integrations. The package's history of 135 CVEs suggests persistent security debt and adversary familiarity with its attack surface. No public exploit or active KEV listing, but the trivial post-auth exploitation path keeps this at elevated risk.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | npm | < 2026.4.14 | 2026.4.14 |
Do you use OpenClaw? You're affected.
How severe is it?
What should I do?
5 steps-
Upgrade openclaw to version 2026.4.14 or later immediately.
-
Treat all credentials configured in affected openclaw instances as compromised: rotate provider API keys, gateway auth tokens, and channel credentials.
-
Audit config.get API access logs for queries returning sourceConfig or runtimeConfig fields prior to patching — any such response in the audit window should be treated as a confirmed credential leak.
-
Enforce least-privilege on gateway client permissions: config read access should be restricted to administrative roles only.
-
If immediate patching is not feasible, block config.get API access at the network layer for non-administrative clients as a temporary workaround.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-8372-7vhw-cm6q?
openclaw's config.get API fails to redact secrets stored under the sourceConfig and runtimeConfig alias fields, meaning any authenticated gateway client with config read access receives plaintext provider API keys, gateway auth tokens, and channel credentials in API responses. While exploitation requires prior authentication, config read is a common and low-privilege permission level — making this a realistic insider threat and post-breach lateral movement vector in AI agent gateway deployments. The same package has 135 historical CVEs and a documented malicious skills ecosystem (AIID #1368) that has already been used to exfiltrate credentials, signaling that openclaw environments are actively targeted. Upgrade to openclaw 2026.4.14 immediately and rotate all credentials configured in affected gateway instances before assuming exposure is limited.
Is GHSA-8372-7vhw-cm6q actively exploited?
No confirmed active exploitation of GHSA-8372-7vhw-cm6q has been reported, but organizations should still patch proactively.
How to fix GHSA-8372-7vhw-cm6q?
1. Upgrade openclaw to version 2026.4.14 or later immediately. 2. Treat all credentials configured in affected openclaw instances as compromised: rotate provider API keys, gateway auth tokens, and channel credentials. 3. Audit config.get API access logs for queries returning sourceConfig or runtimeConfig fields prior to patching — any such response in the audit window should be treated as a confirmed credential leak. 4. Enforce least-privilege on gateway client permissions: config read access should be restricted to administrative roles only. 5. If immediate patching is not feasible, block config.get API access at the network layer for non-administrative clients as a temporary workaround.
What systems are affected by GHSA-8372-7vhw-cm6q?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI agent gateways, LLM API integrations, multi-tenant AI platforms.
What is the CVSS score for GHSA-8372-7vhw-cm6q?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0055 Unsecured Credentials AML.T0083 Credentials from AI Agent Configuration AML.T0084 Discover AI Agent Configuration AML.T0085 Data from AI Services Compliance Controls Affected
What are the technical details?
Original Advisory
## Summary config.get redaction bypass through sourceConfig and runtimeConfig aliases. ## Affected Packages / Versions - Package: `openclaw` - Ecosystem: npm - Affected versions: `< 2026.4.14` - Patched versions: `>= 2026.4.14` ## Impact An authenticated gateway client with config read access could receive unredacted secrets through alias fields that survived redaction, including provider API keys, gateway auth material, and channel credentials. ## Technical Details The fix explicitly overwrites `sourceConfig` and `runtimeConfig` with the same redacted copies used for `resolved` and `config`, including the invalid-snapshot branch. Tests now cover both alias fields. ## Fix The issue was fixed in #66030. The first stable tag containing the fix is `v2026.4.14`, and `openclaw@2026.4.14` includes the fix. ## Fix Commit(s) - `86734ef93a2f25063371b04f1946eb300548acd4` - PR: #66030 ## Release Process Note Users should upgrade to `openclaw` 2026.4.14 or newer. The latest npm release, `2026.4.14`, already includes the fix. ## Credits Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab and @qclawer for reporting this issue.
Exploitation Scenario
An attacker with a low-privilege authenticated gateway client credential — obtained via phishing an internal developer, exploiting a prior vulnerability, or insider access — issues a standard config.get API request to the openclaw gateway. The response includes sourceConfig and runtimeConfig alias objects containing unredacted secrets: OpenAI or Anthropic API keys, internal OAuth tokens, and Slack or webhook channel credentials. The attacker extracts these and uses the LLM API keys to run unauthorized inference at the victim's expense, pivots to internal services using gateway auth material, and uses channel credentials to exfiltrate data or send messages impersonating the gateway identity.
Weaknesses (CWE)
CWE-212 — Improper Removal of Sensitive Information Before Storage or Transfer: The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.
- [Requirements] Clearly specify which information should be regarded as private or sensitive, and require that the product offers functionality that allows the user to cleanse the sensitive information from the resource before it is published or exported to other parties.
- [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 Analysis pending
Same package: openclaw