The Hacker NewsThursday · November 5, 2026FREE

Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root

securitydebianubuntuaptlinux

Debian, Ubuntu, and APT's developers published advisories on November 4 describing a flaw in APT, the package manager used by Debian and Ubuntu. According to the excerpt, the flaw allows an attacker who can modify package downloads to swap a checked package for their own. The attacker's code then runs as root, the advisories state. The excerpt adds that the attack depends on APT retrying failed downloads, which it says APT does by default from Debian 12 onward. The source text provided does not name a CVE identifier, a fixed version, or a specific mitigation, and it does not describe which package repositories or configurations are affected beyond that retry behavior. It also does not state whether exploitation has been observed in the wild. The advisories were published jointly by Debian, Ubuntu, and APT's developers on the same date, per the excerpt.

// why it matters

APT is the default package manager on Debian and Ubuntu, so a flaw that lets swapped packages run as root affects the tool developers rely on to install trusted software.

Sources

Primary · The Hacker News
▸ Read original at thehackernews.com

Like this? Get the next digest.

Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root — aigest.dev