Debian APT Vulnerability Enables Man-in-the-Middle Root Code Execution
November 5: CSO Online reports CVE-2026-109518 allows MITM package replacement via HTTP redirects and retries, rated CVSS v4.0 7.7; adds Ubuntu patch details and hard link mishandling.
CVE-2026-109518 in APT lets on-path attackers replace verified packages and execute code as root after HTTP redirects; fixed in Debian 3.0.4 and multiple Ubuntu versions.
Max Justicz discovered a flaw in Debian's APT package manager where an attacker who can intercept HTTP traffic can force APT to merge package downloads after a redirect shares the same URI. This replaces a verified package with a malicious one, enabling arbitrary code execution as root. The issue also affects Ubuntu derivatives due to shared APT handling of redirects and retries. No active exploitation has been reported. Debian and Ubuntu issued fixes addressing the vulnerability and related out-of-bounds errors.
- CVE-2026-109518
- Discovered by Max Justicz
- Fixed in APT 3.0.4 (Debian Trixie)
- Affects Debian Bookworm before 2.6.2
- Requires following redirects and non-zero retries
- No active exploitation reported
Timeline
dated events in the reporting · oldest first- Nov 4, 2026Max Justicz discovers APT vulnerability allowing man-in-the-middle package replacement after HTTP redirects · Hacker News
- Nov 4, 2026Debian issues DSA 6607-1 fixing APT in version 3.0.4 · Hacker News
- Nov 4, 2026Ubuntu Security Notice USN-8996-1 describes APT root code execution flaw · Ubuntu Security Notices
- Nov 4, 2026Cyber Security News reports Debian APT flaw enabling RCE as root via redirects · Cyber Security News
- Nov 4, 2026The Hacker News covers Debian and Ubuntu APT flaw with default retries · The Hacker News
- Nov 5, 2026GBHackers reports Debian Ubuntu APT vulnerability with CVSS 7.7 · GBHackers
What each outlet adds
beyond the shared facts- Hacker NewsDetails discovery by Max Justicz and out-of-bounds access fixes
- Ubuntu Security NoticesSpecific USN-8996-1 and Ubuntu version impacts
- Cyber Security NewsExact vulnerable versions for Bookworm and Trixie
- The Hacker NewsMentions default retry settings in Debian 12 and Ubuntu 22.04+
- CSO OnlineNew details on hard link overrides during redirects and MITM specifics
Coverage
oldest first · one row per article · UTCDebian apt security update fixes man-in-the-middle code execution
Max Justicz discovered a vulnerability in apt allowing man-in-the-middle attackers to execute arbitrary code as root by merging package downloads; fixed in version 3.0.4.
APT mishandles hard links allowing remote code execution
A remote on-path attacker can trick APT into installing an unverified package and achieve root-level remote code execution.
Debian apt security update for CVE-2026-109518
Max Justicz found vulnerability allowing man-in-the-middle attackers to execute arbitrary code as root after HTTP redirects.
Debian APT flaw lets attackers hijack updates and run code as root
CVE-2026-109518 in APT allows network attackers to replace verified packages and execute code as root on Debian releases.
Debian and Ubuntu APT flaw allows package swap
The flaw in APT lets MitM attackers swap verified packages and run code as root when retries are enabled.
CVE-2026-109518: RCE in Debian apt package manager
Debian advisory reveals man-in-the-middle vulnerability in APT allowing package replacement.
Debian and Ubuntu APT Vulnerability Allows Root Code Execution (CVE-2026-109518)
CVE-2026-109518 in APT lets on-path attackers install malicious packages with root privileges via HTTP redirects and retry mishandling.
Debian Ubuntu patch APT flaw allowing root via redirects
CVE-2026-109518 in APT lets MITM attackers install packages with root privileges using HTTP redirects and retries.
Vulnerabilities in this story
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-109518 | Man-in-the-middle RCE in APT on Debian and Ubuntu | 7.7 | <1% | PoC ×2 |