{"answers":{"affected":"3 open source packages ship an affected version, including github.com/edgelesssys/contrast.","exploited":"There is no known exploitation of CVE-2026-100839 in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/contrast to 1.18.0 or later.","what":"CVE-2026-100839 is a high-severity code injection vulnerability in edgelesssys contrast, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-100839 and fix it if it is affected.\n\nWhat it is: CVE-2026-100839 is a high-severity code injection vulnerability in edgelesssys contrast, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-100839 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.18.0\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.18.0\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.18.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-100839/ (Markdown: https://insights.sbomify.com/CVE-2026-100839/index.md)","id":"CVE-2026-100839","markdown":"https://insights.sbomify.com/CVE-2026-100839/index.md","name":"CVE-2026-100839","record":{"aliases":["GHSA-g9ww-x58f-9g6m","GHSA-qm93-38mp-vr3v","GO-2026-4863"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Confidential Computing Runtime","requires_auth":"low_privilege","summary":"A malicious host can inject AML bytecode to execute arbitrary code and access confidential data in Contrast guest kernels.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Contrast before 1.18.0 AML Injection Remote Code Execution","id":"CVE-2026-100839","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"MONAI through 1.6.0 Remote Code Execution via bundle configuration","id":"CVE-2026-100840"},"packages":[{"ecosystem":"Go","fixed":["1.18.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":null,"source":"GHSA-g9ww-x58f-9g6m"},{"ecosystem":"Go","fixed":["1.18.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GHSA-g9ww-x58f-9g6m"},{"ecosystem":"Go","fixed":["1.18.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GO-2026-4863"}],"prev":{"headline":"Contrast before 1.19.1 CopyFile Policy Symlink Subversion","id":"CVE-2026-100838"},"products":["contrast"],"published":"2026-09-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["edgelesssys"]},"summary":"A malicious host can inject AML bytecode to execute arbitrary code and access confidential data in Contrast guest kernels.","url":"https://insights.sbomify.com/CVE-2026-100839/"}