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

DevFeed: [Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root](<https://devfeed.tech/articles/debian-and-ubuntu-apt-flaw-lets-mitm-attackers-swap-verified-packages-and-run-code-as-root-117727.md>)

Original publisher: [Read original article](<https://thehackernews.com/2026/11/debian-and-ubuntu-apt-flaw-lets-mitm.html>)

Author: The Hacker News

Published: 2026-11-04T17:00:46Z

Content type: news

Language: en

Sources: [Cyber Newsroom](<https://devfeed.tech/sources/cyber-newsroom.md>)

Topics: [apt](<https://devfeed.tech/topics/apt.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [attack](<https://devfeed.tech/tags/attack.md>), [cve](<https://devfeed.tech/tags/cve.md>), [debian](<https://devfeed.tech/tags/debian.md>), [downloads](<https://devfeed.tech/tags/downloads.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [http](<https://devfeed.tech/tags/http.md>), [https](<https://devfeed.tech/tags/https.md>), [linux](<https://devfeed.tech/tags/linux.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [mirror](<https://devfeed.tech/tags/mirror.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [retries](<https://devfeed.tech/tags/retries.md>), [root](<https://devfeed.tech/tags/root.md>), [software-security](<https://devfeed.tech/tags/software-security.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

CVE-2026-109518 lets an attacker who can alter HTTP traffic between APT and a package server replace a checked package; when the system installs it, the attacker's code runs as root. The attack uses redirects and temporary server errors to trigger APT's default download retry behavior, enabled by default from Debian 12 and Ubuntu 22.04. Older Debian 11 and Ubuntu 20.04 are not exposed by default, though scripts may enable retries. Debian published fixed APT versions, including 2.2.5 for Debian 11; Ubuntu reported updates for its releases, but its status page still listed all eight tracked releases as vulnerable at 15:46 UTC on November 4, 2026. The advisories cited no known exploitation or workaround and did not say whether HTTPS package sources are exposed.

## Source excerpt

Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root A flaw in APT, the package manager for Debian and Ubuntu, allows an attacker who can modify package downloads to swap a checked package for their own. The attacker's code then runs as root, according ... Read more Published Date: Nov 04, 2026 (4 hours, 48 minutes ago) Vulnerabilities has been mentioned in this article. CVE-2026-109518