CVE-2019-12928

CRITICAL

QEMU < 4.0.0 - OS Command Injection via QMP Migrate Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2019-12928. PoCs published by bcoles, including Metasploit module exploits/multi/misc/qemu_monitor_hmp_migrate_cmd_exec.

AI-analyzed exploit summary This Metasploit module exploits a command execution vulnerability in QEMU's Human Monitor Interface (HMP) via the 'migrate' command. It supports both direct command execution and staged payload delivery for Unix and Linux targets.

Description

The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve code execution, denial of service, or information disclosure by sending a crafted QMP command to the listening server. Note: This has been disputed as a non-issue since QEMU's -qmp interface is meant to be used by trusted users. If one is able to access this interface via a tcp socket open to the internet, then it is an insecure configuration issue

Exploits (1)

metasploit WORKING POC EXCELLENT
by bcoles · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/qemu_monitor_hmp_migrate_cmd_exec.rb

This Metasploit module exploits a command execution vulnerability in QEMU's Human Monitor Interface (HMP) via the 'migrate' command. It supports both direct command execution and staged payload delivery for Unix and Linux targets.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: QEMU (tested on 6.2.0)
No auth needed
Prerequisites: Access to QEMU's HMP TCP server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://fakhrizulkifli.github.io/posts/2019/06/05/CVE-2019-12928/

Scores

CVSS v3 9.8
EPSS 0.2304
EPSS Percentile 97.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78 CWE-668
Status published
Products (1)
qemu/qemu < 4.0.0
Published Jun 24, 2019
Tracked Since Feb 18, 2026