Ubuntu Patches APT Vulnerability Allowing Root Access via Man-in-the-Middle Attacks

Ubuntu has released updates addressing a flaw in the APT package manager that could let an attacker positioned for a man-in-the-middle attack gain root privileges on affected systems. The vulnerability, tracked as CVE-2026-109518, enables manipulation of HTTP traffic between a client and archive servers to deliver a malicious .deb package. Exploitation requires the client to retry a failed download, a behavior that is disabled by default starting with Ubuntu 22.04 LTS and later releases. Debian issued patches for the same issue earlier. While digital signatures are intended to prevent such attacks, the flaw allows APT to install the malicious package even when signature verification fails. Scripts inside installed .deb packages execute with root privileges, potentially leading to full system compromise.

Security.NLTranslated from NL

Read at source

Ubuntu has issued updates to address a vulnerability in the APT package manager that could allow an attacker to obtain root access through a man-in-the-middle attack.

The flaw, identified as CVE-2026-109518, affects how APT handles package downloads over HTTP. An attacker able to intercept and modify traffic between a vulnerable system and the archive server can substitute legitimate packages with malicious .deb files.

Successful exploitation requires the client to retry a previously failed download. Ubuntu notes that this retry behavior is disabled by default on Ubuntu 22.04 LTS (Jammy Jellyfish) and newer releases, making the vulnerability unexploitable under standard conditions on those versions.

Debian released patches for the same issue prior to Ubuntu. Use of HTTPS with TLS provides additional protection because the attack depends on the ability to manipulate unencrypted HTTP traffic.

Although package signatures should normally block installation of tampered files, the vulnerability enables APT to proceed with installing the malicious package even when signature verification fails. Any scripts contained in the .deb package then execute with root privileges, which can result in complete system compromise.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulns & Exploits

OpenSSH Releases Patch for Critical Authentication Bypass Affecting musl-Based Linux Distributions
OpenSSH Patches Critical Password Authentication Bypass Affecting musl libc Systems
ChatGPT Vulnerability Allowed JavaScript Execution and Full Account Takeover via Shared Conversation Links