Debian and Ubuntu released security updates addressing CVE-2026-109518, an APT package manager flaw that lets an attacker controlling HTTP traffic replace downloaded packages and execute arbitrary code with root privileges.
Published on November 4, 2026, the advisories credit researcher Max Justicz; exploitation targets package installation through manipulated redirects and download retries, allowing an unverified package to reach installation despite an earlier verification step.
The flaw affects Debian, Ubuntu, and derivative distributions under specific download conditions. Canonical describes an on-path attacker, including a malicious archive mirror or proxy, manipulating communications between an APT client and its archive server.
Debian and Ubuntu Fix APT Security Flaw
The resulting remote code execution occurs with root privileges. Unlike attacks requiring an exposed application service, this attack depends on the victim initiating a package installation and the attacker influencing the HTTP download path.
Debian explains that APT can merge two separate package downloads when an HTTP redirect assigns them the same URI. Incorrect file handling during a resumed HTTP transfer then allows a package to be replaced after verification.
Canonical identifies improper hard-link handling during redirects and retries as the underlying mechanism. Together, these behaviors create a gap between the package data APT verifies and the data it ultimately installs, defeating the integrity boundary protecting package installation.
The supplied CVE record classifies the defect under CWE-62, UNIX hard link, and CWE-367, a time-of-check, time-of-use race condition. It assigns a High severity CVSS 4.0 score of 7.7.
Exploitation requires a nonzero Acquire::Retries setting, plus redirects and retried package downloads.
The record states that three retries became the default with Debian 12 and Ubuntu 22.04 LTS; older releases remain unaffected in their default configurations, although configurations enabling retries can expose affected versions.
Debian’s DSA-6607-1 fixes the issue in APT 3.0.4 for Debian 13, codenamed trixie. The same update also corrects several out-of-bounds access issues, although the advisory does not provide their individual technical details.
Debian recommends upgrading installed APT packages and directs administrators to its security tracker for distribution-specific status.
The advisory attributes the root execution risk specifically to package replacement after verification, rather than describing those additional memory-access corrections as the same exploit.
Ubuntu’s USN-8996-1 provides fixes for releases from 14.04 LTS through 26.10. Updated APT versions include 2.4.15ubuntu0.1 for Ubuntu 22.04 LTS, 2.8.4ubuntu0.1 for 24.04 LTS, 3.2.1ubuntu0.1 for 26.04 LTS, and 3.3.3ubuntu0.1 for 26.10.
Older releases receive corrected packages through the applicable Ubuntu Pro or Legacy Support channels. Canonical states that a standard system update applies the necessary changes.
Administrators should match the installed APT package against the fixed version for their release, rather than comparing version numbers across different distribution branches.
The decisive exposure conditions remain attacker-controlled HTTP traffic, redirect handling, download retries, and an affected APT build.
Updating the package manager fixes the faulty hard-link behavior that installs attacker-controlled, unverified packages during the affected package-download and installation workflow.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team