---===[ Qubes Security Bulletin 122 ]===--- 2026-11-06 Package verification bypass in APT (DSA-6607-1) User action ------------ If you update Qubes OS using the Qubes Update tool, continue to update normally in order to receive the security updates described in the "Patching" section below. If you update Qubes OS using command-line tools instead of the Qubes Update tool, you must first update dom0 by itself (without any other qubes) via `qubes-dom0-update` in a dom0 terminal. Only after dom0 has been successfully updated should you update all Debian and Whonix templates and standalones via `qubes-vm-update` in a dom0 terminal. (The Qubes Update tool automatically handles updating in the correct order.) Do not attempt to update any qube using the `apt` command directly, as this bypasses built-in Qubes OS update security measures. Use only the Qubes Update tool or its command-line equivalents in the order described above. [1] After updating dom0 and all Debian and Whonix templates and standalones, we recommend restarting all Debian and Whonix qubes to ensure the updates take effect. Summary -------- On 2026-11-04, the Debian security team published DSA 6607-1, "apt security update" (CVE-2026-109518) [3]: | Max Justicz discovered a vulnerability in the APT package manager. APT | can merge two different package downloads after an HTTP redirect gives | them the same URI. Improper file handling when resuming an HTTP | download allows a man-in-the-middle attacker to replace a package | after verification, resulting in the execution of arbitrary code as | root. Also see "APT-2026-11-01 security update." [4] Impact ------- An attacker who controls an update mirror or who can modify network traffic can attempt to exploit this vulnerability in order to compromise Debian and Whonix qubes. Affected systems ----------------- Qubes OS systems containing Debian and Whonix qubes are affected. Qubes OS systems containing only Fedora (or other non-APT-based) qubes are not affected. Discussion ----------- By default, the Advanced Package Tool (APT) verifies downloaded packages via signed repository metadata. This allows for using package repositories without having to trust the server hosting them or the transport method used to download them. The vulnerability under discussion breaks this mechanism. An attacker who successfully exploits this vulnerability can manipulate the packages that APT downloads and installs, potentially leading to complete compromise of the affected qube. A successful attack requires one or more of the following: - The attacker controls the server on which the repository is hosted (e.g., a third-party mirror). - The transport mechanism is not authenticated (e.g., plain HTTP), and the attacker can tamper with the connection to the server. - An independent vulnerability allows the attacker to achieve one of the above (e.g., exploiting a bug in the server or compromising a trusted certificate authority (CA) or a digital certificate issued by such an authority). In Qubes OS, Debian and Whonix qubes use HTTPS for APT repositories by default, which eliminates the second (man-in-the-middle) attack vector. (Users who have manually changed their configurations to use plain HTTP for any repositories are still affected. Users who have manually installed unofficial APT-based qubes besides Debian and Whonix are also affected.) Normally, we do not release Qubes security bulletins (QSBs) to address vulnerabilities that affect qubes only internally without affecting the rest of Qubes OS, since such vulnerabilities do not undermine the Qubes security model. (On the contrary, the security model is built on the assumption that such vulnerabilities are inevitable.) However, the vulnerability under discussion is somewhat special. While it affects qubes only internally, it could allow an attacker to compromise templates, which are used as a basis for creating other qubes, such as app and service qubes. If a template is compromised, then all the qubes based on that template will also be compromised. App qubes operate directly on user data, and service qubes can affect user privacy (e.g., Whonix and VPN proxy qubes). In Qubes OS, we take special precautions to make templates difficult to compromise. For example, we block all network connections to and from templates, with one exception: We allow templates to connect to an "update proxy" that allows the template to retrieve updates while protecting users from accidentally using templates to perform risky activities, such as browsing the web. Since the vulnerability under discussion has the potential to subvert these defenses, and since we can address it via the Qubes update system, we've decided to issue this QSB and its attendant security updates. Patching --------- The packages below contain security updates to the Qubes update tools that address the vulnerability described in this bulletin. After these updates are applied, the Qubes update tools will update APT in a safe way. For Qubes 4.3, in dom0: - qubes-core-dom0-linux 4.3.25 - qubes-mgmt-salt-dom0-update 4.3.4 These packages will migrate from the security-testing repository to the current (stable) repository over the next two weeks after being tested by the community. [2] Once available, the packages should be installed as described in the "User action" section above. Credits -------- See the Debian and APT security advisories. [3][4] References ----------- [1] https://doc.qubes-os.org/en/latest/user/how-to-guides/how-to-update.html [2] https://doc.qubes-os.org/en/latest/user/downloading-installing-upgrading/testing.html [3] https://lists.debian.org/debian-security-announce/2026/msg00526.html [4] https://lists.debian.org/deity/2026/11/msg00005.html -- The Qubes Security Team https://www.qubes-os.org/security/