APT CVE-2026-109518: What SMBs Should Patch

APT CVE-2026-109518 can put package integrity at risk under specific HTTP redirect and retry conditions. Debian and Ubuntu have released fixes. Check your release and build images.

How APT CVE-2026-109518 can change verified data

The flaw affects APT’s handling of HTTP downloads, redirects, retries, and reused hard links. Under specific conditions, APT can write new data into a file it has already verified. APT may then install a package different from the data it checked, with package installation running as root.

This is not an attack against every Linux server. An attacker must be able to manipulate package traffic, for example by controlling a relevant mirror or proxy, or by getting between the system and its archive. The target must also install a package while the required redirect and retry conditions are met.

Acquire::Retries defaults to 3 on Debian 12 and Ubuntu 22.04 and later. Older releases are affected only if retries have been enabled in local configuration or automation.

Patch APT and check the images your systems rely on

  • Install the fixed APT package from your distribution’s security repositories. Fixed versions vary by distribution and release. Check the Ubuntu advisory or Debian tracker for the version that applies to your system.
  • When applying the APT update, Canonical recommends disabling retries for that operation: sudo apt install --only-upgrade apt -o Acquire::Retries=0. Verify the installed version against the fixed version for your distribution.
  • Check CI runners, build hosts, container base images, and scripts that install packages. Updating a running server does not update a stale image that may launch new systems.

If you cannot patch immediately, setting Acquire::Retries to 0 can temporarily remove the retry condition. Package downloads will be less resilient to transient network failures, so treat this as a short-term measure, not a replacement for the fixed package. Switching to HTTPS alone does not resolve the issue.

Ubuntu rates the vulnerability 7.7, High on the CVSS 4.0 scale; Debian describes it as critical. As of November 5, 2026, the Debian and Ubuntu advisories reviewed did not report known in-the-wild exploitation. That does not establish that exploitation has been ruled out.

For advisory details, see Ubuntu’s security notice, the Debian CVE tracker, and StepSecurity’s technical analysis.

If you’re unsure which Linux systems, build images, or package sources your business relies on, a targeted review can help you find what needs patching first.

 

Book a 15-minute Linux security check
We’ll review your setup and identify practical next steps, with no obligation.