CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-QVR7-G57C-MRC7

GHSA-QVR7-G57C-MRC7: Authentication Fall-Through via Unresolved SecretRef in OpenClaw Gateway

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 13, 2026·5 min read·15 visits

Executive Summary (TL;DR)

OpenClaw < v2026.3.11 fails to properly handle unresolved SecretRef configurations in the gateway module, leading to an authentication fallback vulnerability that bypasses intended local security constraints.

In OpenClaw versions prior to v2026.3.11, the local gateway helper contains a logic flaw in its credential resolution mechanism. When authentication credentials configured via SecretRef fail to resolve, the system defaults to an unset state rather than failing securely. This allows unintended fall-through to remote or default credentials, potentially bypassing intended local authentication requirements.

Vulnerability Overview

The OpenClaw application utilizes a Local Gateway Helper to route and authenticate requests between local clients and the primary AI backend. This gateway relies on specific configuration directives, notably gateway.auth.token and gateway.auth.password, to verify inbound connections. Administrators often populate these directives using a SecretRef mechanism, which securely injects credentials from external secret stores or environment variables at runtime.

A logic flaw exists in the gateway's credential resolution infrastructure. When a SecretRef is explicitly configured but fails to resolve its target value due to a missing environment variable or unreachable secret provider, the resolution process does not halt execution. Instead, the runtime improperly treats the failed resolution as an entirely unconfigured state.

This behavior masks underlying configuration errors and triggers the gateway's fallback logic. The system proceeds to evaluate secondary credential sources, leading to a fall-through condition. This origin validation error allows the gateway to inadvertently accept remote credentials or insecure defaults, bypassing the explicit local authentication requirements defined by the administrator.

Root Cause Analysis

The intended execution flow requires the gateway to enter a strict fail-closed state if an explicitly defined SecretRef cannot be resolved. The application should block subsequent access attempts and generate a fatal configuration error. This ensures that missing secrets immediately alert operators rather than silently degrading the system's security posture.

The vulnerable logic resides in the credential resolver module. During initialization, the resolver catches exceptions related to missing environment variables or network timeouts when querying external secret providers. However, instead of bubbling these exceptions up the call stack, the resolver swallows the errors and returns a null or empty state. The system cannot distinguish between a directive that was never configured and a directive that failed to resolve.

Because the explicitly configured SecretRef appears unconfigured to the downstream authentication pipeline, the logic moves to the next available verification method. This sequence violates the principle of fail-safe defaults (CWE-305 and CWE-754). The gateway subsequently accepts authentication from synchronized remote accounts, directly contradicting the local-mode configuration intended by the operator.

Code Analysis & Remediation Logic

The root cause stems from inadequate state differentiation within the src/gateway module. The vulnerable implementation utilizes a permissive check that conflates resolution errors with absent configuration keys.

// Vulnerable Logic (Conceptual)
function resolveAuthSecret(configKey) {
    const secretRef = getSecretRef(configKey);
    if (!secretRef) return null; // Unconfigured
    
    try {
        return fetchSecret(secretRef);
    } catch (error) {
        // Flaw: Swallows the error and returns null, matching the unconfigured state.
        console.warn("Failed to resolve secret for", configKey);
        return null; 
    }
}

The patched version introduces strict state evaluation. The fix implements a dedicated ResolutionError that explicitly halts the initialization process or the request pipeline. By enforcing a fail-closed policy, the gateway prevents any unintended fall-through to secondary authentication mechanisms.

// Patched Logic (Conceptual - v2026.3.11)
function resolveAuthSecret(configKey) {
    const secretRef = getSecretRef(configKey);
    if (!secretRef) return null; // Unconfigured
    
    try {
        return fetchSecret(secretRef);
    } catch (error) {
        // Fix: Throws a fatal error to prevent fallback logic from executing.
        throw new ResolutionError(`Critical configuration failure: SecretRef for ${configKey} could not be resolved.`);
    }
}

Exploitation Methodology

Exploitation of this vulnerability requires the attacker to possess localized access to the host environment or the ability to influence the gateway's execution context. The target system must specifically rely on SecretRef for primary authentication via gateway.auth.token or gateway.auth.password.

The attack sequence begins by intentionally disrupting the SecretRef resolution process. The attacker unsets the required environment variable, such as OPENCLAW_TOKEN, or manipulates network rules to isolate the gateway from its designated secret provider. This action forces the application into the vulnerable fall-through state during the next initialization cycle.

Following the disruption, the attacker initiates a standard connection request to the gateway. Because the missing secret forces a fallback rather than a failure, the gateway processes the request using secondary remote credentials. If the attacker possesses access to a synchronized remote account, they successfully authenticate locally, entirely bypassing the intended restrictive local security policy.

Impact Assessment

The primary consequence of this vulnerability is an authentication bypass coupled with configuration masking. Administrators configuring strict local-only access via secret references remain unaware that their security controls are inactive. The system silently degrades to accepting remote or default credentials without halting operation.

The CVSS v3.1 vector evaluates to 3.6 (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N). The vulnerability necessitates local environment access and specific configuration conditions, resulting in a high attack complexity (AC:H). The impact on confidentiality and integrity remains low (C:L/I:L), as the exploit scope is constrained to the authorization boundaries of the compromised gateway process.

Operationally, this silent failure mode significantly complicates incident response and auditing. Unauthorized access via fallback credentials appears identical to legitimate remote traffic in standard access logs. The absence of explicit fatal errors during initialization delays the detection of the misconfiguration and extends the window of vulnerability.

Remediation and Mitigation

The definitive remediation requires upgrading OpenClaw to version 2026.3.11 or later. This release enforces a strict fail-closed state for all explicitly configured but unresolved SecretRef directives, structurally eliminating the fall-through behavior.

Environments unable to immediately deploy the patch must implement operational workarounds. Administrators should explicitly define gateway.auth.mode to enforce local-only authentication, which disables remote account synchronization and prevents the fallback logic from executing successfully.

Security teams must implement continuous monitoring of the gateway's initialization logs. Any warnings indicating failed credential resolutions should trigger immediate alerts. Additionally, infrastructure teams must ensure the high availability of external secret providers and rigidly control permissions surrounding environment variable modifications on the host system.

Official Patches

OpenClawRelease v2026.3.11

Technical Appendix

CVSS Score
3.6/ 10
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected Systems

OpenClaw Local Gateway Helper

Affected Versions Detail

Product
Affected Versions
Fixed Version
OpenClaw
OpenClaw
< 2026.3.11v2026.3.11
AttributeDetail
CWE IDCWE-305, CWE-754
Attack VectorLocal
CVSS v3.13.6
ImpactAuthentication Bypass / Configuration Masking
Exploit StatusPoC Available
Patched Versionv2026.3.11

MITRE ATT&CK Mapping

T1556Modify Authentication Process
Credential Access
T1078Valid Accounts
Defense Evasion
CWE-305
Authentication Bypass by Primary Verification Fault

The system's primary authentication verification logic fails, allowing unauthorized access or unintended fallback mechanisms to trigger.

Vulnerability Timeline

Related issues regarding SecretRef scope expansion discussed in the OpenClaw repository (Issue #28306, #28359).
2026-02-26
Vulnerability disclosed and patched in v2026.3.11. GHSA published by researcher steipete.
2026-03-12

References & Sources

  • [1]GitHub Advisory: GHSA-QVR7-G57C-MRC7
  • [2]OpenClaw Repository
  • [3]OpenClaw Security Documentation
  • [4]Aliyun Vulnerability Database

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-50751
9.3

CVE-2026-50751: Authentication Bypass in Check Point Security Gateway IKEv1 Legacy Validation

An improper authentication vulnerability (CWE-287) exists in the legacy, deprecated Internet Key Exchange version 1 (IKEv1) key exchange protocol implementation in Check Point Security Gateways. The vulnerability is caused by a logic flow weakness during the certificate validation process for Remote Access VPN and Mobile Access (SSL VPN) connections. An unauthenticated remote attacker can exploit this weakness to bypass user authentication entirely, establishing a fully functional Remote Access VPN connection without a valid password.

Alon Barad
Alon Barad
8 views•6 min read
•about 15 hours ago•CVE-2026-39922
6.3

CVE-2026-39922: Server-Side Request Forgery in GeoNode Service Registration Endpoint

GeoNode versions prior to 4.4.5 and 5.0.2 are vulnerable to Server-Side Request Forgery (SSRF) in the service registration endpoint. Authenticated attackers with low privileges can exploit insufficient input validation in the Web Map Service (WMS) registration module to force the application server to make outbound network queries to loopback addresses, private RFC1918 subnets, link-local scopes, and cloud metadata endpoints. This technical report details the mechanics of the vulnerability, the underlying architectural flaw, and how to effectively remediate and mitigate the associated security risks.

Alon Barad
Alon Barad
4 views•7 min read
•about 24 hours ago•CVE-2022-0492
7.8

CVE-2022-0492: Privilege Escalation and Container Escape via cgroups v1 release_agent

CVE-2022-0492 is a high-severity missing authorization vulnerability in the Linux kernel's Control Groups (cgroups) v1 implementation. The flaw resides within the cgroup_release_agent_write function in kernel/cgroup/cgroup-v1.c, where the kernel fails to validate if the process writing to the release_agent file possesses administrative capabilities in the initial user namespace. This allows a local attacker inside a container with root privileges (UID 0) to abuse user namespaces, mount a cgroups v1 directory, modify the release_agent parameter, and execute arbitrary commands on the host system as host root, effectively achieving a complete container escape.

Amit Schendel
Amit Schendel
9 views•7 min read
•3 days ago•GHSA-G72G-R7M4-9X4G
6.3

GHSA-G72G-R7M4-9X4G: Insufficient Session Expiration of OAuth Tokens in NocoDB

NocoDB is subject to an insufficient session expiration vulnerability where OAuth access and refresh tokens are not invalidated or revoked during security-sensitive actions such as password changes, forgot-password requests, or password resets. This allows an attacker possessing an active OAuth token to maintain unauthorized persistence.

Amit Schendel
Amit Schendel
12 views•6 min read
•3 days ago•GHSA-FGMC-2HQJ-86V4
6.9

GHSA-FGMC-2HQJ-86V4: Default Administrative Credentials in vantage6-server

A vulnerability in the vantage6 federated learning framework allows unauthenticated remote attackers to gain administrative control of the server via hardcoded default credentials (root/root) when deployed under default configurations in versions 4.2.3 and below.

Amit Schendel
Amit Schendel
8 views•5 min read
•3 days ago•GHSA-X9F6-9RVM-MMRG
6.9

GHSA-X9F6-9RVM-MMRG: Improper Access Control and Volume Mount Isolation Bypass in vantage6 Node

An improper access control vulnerability in the vantage6 node component allows concurrently running algorithm containers to read and modify sensitive input and output files of other tasks. The lack of strict workspace directory isolation exposes a significant attack surface in multi-tenant or federated environments where untrusted algorithms are executed.

Amit Schendel
Amit Schendel
3 views•4 min read