CVE-2026-100839: Contrast before 1.18.0 AML Injection Remote Code Execution
Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.18.0, the guest kernel's ACPI/AML handling is vulnerable to an AML injection attack ("BadAML"). ACPI tables containing AML bytecode are passed from the untrusted host (QEMU) to the guest firmware (OVMF) and on to the Linux kernel, whose AML interpreter executes them. An attacker controlling the host — an assumed adversary in Contrast's threat model — can craft a table with malicious, Turing-complete AML bytecode that the guest kernel interprets with access to the full guest memory, including private pages, resulting in arbitrary code execution and disclosure or modification of confidential guest data. The issue affects the AMD SEV-SNP platforms Metal-QEMU-SNP and Metal-QEMU-SNP-GPU; Metal-QEMU-TDX is not affected because ACPI table contents are measured into RTMR 0 by OVMF on Intel TDX. Version v1.18.0 mitigates the attack by sandboxing the kernel AML interpreter so that it cannot read or write private memory pages. This weakness is not specific to Contrast but is generic to Confidential Computing setups that expose the ACPI interface to the host.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Contrastto a version that resolves this vulnerability.Fixed in 1.18.0
Event History
Frequently Asked Questions
Which Contrast deployments are affected?
The issue affects AMD SEV-SNP deployments on Metal-QEMU-SNP and Metal-QEMU-SNP-GPU running Contrast before v1.18.0. Metal-QEMU-TDX is not affected.
What level of attacker access is required?
An attacker must control the untrusted host/QEMU, allowing them to supply crafted ACPI tables containing malicious AML bytecode. Host control is an assumed adversary capability in Contrast's threat model.
What is the impact of successful exploitation?
Malicious AML executed by the guest kernel can access full guest memory, including private pages. This can result in arbitrary code execution and disclosure or modification of confidential guest data.
What remediation is available?
Upgrade to Contrast v1.18.0 or later. This version sandboxes the kernel AML interpreter so it cannot read or write private memory pages.