Intel Hub

Threat intel

Debian and Ubuntu patch an APT flaw that hands a network attacker root.

CVE-2026-109518 lets a man-in-the-middle swap a package after APT has verified it. The maintainer scripts then run as root. No exploitation has been reported.

Debian, Ubuntu and the APT developers published advisories on November 4 for CVE-2026-109518, a high-severity flaw in the APT package manager. The Hacker News and CSO Online both reported it. Debian's advisory is DSA 6607-1 and credits Max Justicz with the find.


The bug sits in how APT handles HTTP downloads that are resumed. Improper file handling lets an attacker on the network path replace a package after it has been verified. APT installs packages as root, so the swapped package's maintainer scripts run with root privileges. One tracker lists a CVSS v4 score of 7.7.


The attacker needs a position between the host and the archive: a hostile network, a malicious mirror or a compromised proxy. Retry behaviour is required. Exploitation needs a non-zero value in Acquire::Retries, and APT retries failed downloads by default from Debian 12 and Ubuntu 22.04 onward. Snap packages and FTP downloads are reported as outside the issue.


No exploitation or public exploit code has been reported as of this writing.


Why it matters: the flaw undermines the signature check that most teams treat as the trust anchor for package installs. Build runners, CI images and servers that pull from HTTP mirrors or through shared proxies are the most exposed.


Mitigation: update APT to the fixed version from the Debian or Ubuntu advisory and confirm the version against the official notice. Until you can patch, one source suggests setting Acquire::Retries "0" in an APT configuration file, then removing it after the update. Prefer HTTPS mirrors and review which mirrors and proxies your fleet uses.

Sign-in required.

The full encrypted event log and the mitigation steps are available after sign-in.