Security Vulnerability Report
中文
CVE-2026-3691 CVSS 5.3 MEDIUM

CVE-2026-3691

Published: 2026-04-11 01:16:16
Last Modified: 2026-04-27 17:10:36

Description

OpenClaw Client PKCE Verifier Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose stored credentials on affected installations of OpenClaw. User interaction is required to exploit this vulnerability in that the target must initiate an OAuth authorization flow. The specific flaw exists within the implementation of OAuth authorization. The issue results from the exposure of sensitive data in the authorization URL query string. An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise. Was ZDI-CAN-29381.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* - VULNERABLE
OpenClaw (具体受影响版本请参考厂商公告 GHSA-6g25-pc82-vfwp)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Proof of Concept (PoC) for CVE-2026-3691 # Description: This script demonstrates how sensitive information (PKCE verifier) # might be exposed in the URL query string during the OAuth flow. # An attacker sniffing the network or analyzing logs could capture this. def simulate_oauth_redirect(): target_url = "https://example.com/oauth/authorize" # Hypothetical vulnerable parameters based on the description # The 'verifier' parameter should not be exposed here. params = { "client_id": "openclaw_client", "response_type": "code", "redirect_uri": "https://example.com/callback", "scope": "read write", "state": "random_state_value", "code_challenge": "derived_from_verifier", "code_verifier": "SENSITIVE_VERIFIER_EXPOSED_HERE" # Vulnerability: Sensitive data in URL } print(f"[*] Simulating OAuth Authorization Request...") print(f"[*] Vulnerable URL: {target_url}?{requests.compat.urlencode(params)}") print("[!] The 'code_verifier' is exposed in the query string and can be logged or intercepted.") if __name__ == "__main__": simulate_oauth_redirect()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3691", "sourceIdentifier": "[email protected]", "published": "2026-04-11T01:16:16.123", "lastModified": "2026-04-27T17:10:36.357", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenClaw Client PKCE Verifier Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose stored credentials on affected installations of OpenClaw. User interaction is required to exploit this vulnerability in that the target must initiate an OAuth authorization flow.\n\nThe specific flaw exists within the implementation of OAuth authorization. The issue results from the exposure of sensitive data in the authorization URL query string. An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise. Was ZDI-CAN-29381."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.6, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-200"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "2026.2.25", "matchCriteriaId": "E7CAF2B9-46A9-45F0-8621-6485989E84AD"}]}]}], "references": [{"url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-6g25-pc82-vfwp", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-229/", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}