APT, the package manager used in Debian and Ubuntu, is vulnerable to an issue that allows attackers to replace a package with a malicious one if they can alter the package download.
The malicious code will run with root privileges. Advisories were released by Debian, Ubuntu and APT’s developers on November 4. The exploit requires APT to be configured to retry failed downloads, which is enabled by default for Debian 12 and later versions of Ubuntu 22.04.
Debian has released patched versions of APT to fix this vulnerability (CVE-2026-109518). APT’s developers have said they are releasing updates for Ubuntu and Ubuntu Pro subscription service. One is available for Ubuntu 14.04 users with Ubuntu Pro.
While older versions, like Debian 11 and Ubuntu 20.04, are not exposed by default, many users may have set the retry option (Acquire::Retries) in their scripts, says Ubuntu.
The Debian testing branch was also still running vulnerable read more about Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root
Get up to date on the latest cybersecurity news and enhance your knowledge of cybersecurity with our thorough coverage of the dangers, breaches, and solutions.
