What happened
Debian and Ubuntu published fixes on 4 November 2026 for a flaw in APT, the package manager. Someone who can alter the HTTP traffic between a server and its package archive can get APT to install a package it never verified, which means code running as root. The cause is how APT reuses files when a download is redirected and retried.
It depends on download retries (Acquire::Retries) being on, which is the default from Ubuntu 22.04 and Debian 12. Older releases are only exposed if retries were switched on by hand. Archives reached over HTTPS are protected against this kind of tampering. No attacks have been reported.
What to do
- Update apt itself first (apt update && apt install apt), ideally from a network you trust, then install the rest of your updates.
- Check the result with apt --version or dpkg -l apt against the fixed versions above.
- Point your package sources at https:// mirrors where your provider offers them.
