Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root
Our summary
A critical vulnerability in APT, the package manager used by Debian and Ubuntu, lets a man-in-the-middle attacker who can tamper with package download traffic substitute their own malicious package for a legitimately verified one, ultimately executing arbitrary code as root. Tracked as CVE-2026-109518, the bug relies on APT's default behavior of retrying failed downloads—enabled since Debian 12 and Ubuntu 22.04—with attackers abusing HTTP redirects and ordinary temporary server errors to trigger the retry and slip in forged packages, as disclosed in advisories from Debian, Ubuntu, and the APT project on November 4. Debian has already shipped fixed builds, including a patch for Debian 11 despite its long-term support ending August 31, while Ubuntu has released updated APT packages for 22.04, 24.04, 26.04, and 26.10, with Ubuntu Pro users on 14.04 also able to update; as of midday November 4, however, Ubuntu still listed all eight tracked releases as vulnerable and Debian testing remained on the flawed version. Older releases like Debian 11 and Ubuntu 20.04 aren't vulnerable by default, but researchers warn many systems may have manually enabled the retry setting (Acquire::Retries), leaving them exposed too; no exploitation in the wild or workaround has been reported, and it's unclear whether HTTPS-based package sources are affected.
The Hacker News publishes this story on its own site; we link to it rather than reprint it.
Worried this affects your company?
Discuss a security assessment of your internet-facing systems. Scope agreed before testing.