Ubuntu and Debian fixed a flaw in APT, the tool that installs software on their servers, that can slip in an unverified package and run code as administrator. Fixed versions and what to do.
On November 4, 2026, Ubuntu and Debian released a fix for APT, the tool that installs and updates software on those Linux systems. The flaw, CVE-2026-109518, lets an attacker sitting in the path of the connection, such as a malicious package mirror or proxy, make the server install an unverified package and run code as root, the user with full control of the system. It was discovered by researcher Max Justicz, and Ubuntu rated it high priority, with a severity of 7.7 out of 10.
Who is exposed
The flaw shows up when APT downloads packages over HTTP, follows a redirect and retries the download. That is why it only affects machines with retries enabled (the Acquire::Retries option set to a non-zero value), which is the default since Debian 12 and Ubuntu 22.04. Older releases are not affected unless someone changed that option. AWS warns that cloud servers and container images based on Ubuntu or Debian also need to be checked. None of the advisories mention real-world attacks.
Fixed APT versions
- Ubuntu 26.04: 3.2.1ubuntu0.1; Ubuntu 24.04: 2.8.4ubuntu0.1; Ubuntu 22.04: 2.4.15ubuntu0.1; Ubuntu 26.10: 3.3.3ubuntu0.1.
- Ubuntu 20.04 and older: the fix is only available with Ubuntu Pro, which is free for up to five machines.
- Debian 13 (trixie): 3.0.4; Debian 12 (bookworm): 2.6.2.
What to do
- Update APT from the official repositories. AWS recommends doing it with retries turned off, since the flaw depends on them:
sudo apt-get update && sudo apt-get upgrade -o Acquire::Retries=0. - Configure your package sources to use HTTPS instead of HTTP, as AWS also recommends.
- Use only trusted package mirrors and proxies.
- Rebuild container images (Docker) based on Ubuntu or Debian so they include the fixed version.
- If you have servers on Ubuntu 20.04 or older, turn on Ubuntu Pro or plan a move to a supported release.
How we help you
With Pronetsys Linux server management we apply updates like this one across all your machines, review their package sources and plan the migration of unsupported systems. If you are not sure which version your servers run, ask us for a review.
Sources
- Ubuntu: USN-8996-1 notice on APT (November 4, 2026)
- Ubuntu: CVE-2026-109518 record (November 4, 2026)
- Debian: CVE-2026-109518 status and fixed versions (November 4, 2026)
- AWS: bulletin 2026-172 on APT in Ubuntu and Debian (November 5, 2026)
Source: Ubuntu