Description
On Debian, Ubuntu, and derivative Linux distributions, an on-path attacker who can manipulate the HTTP traffic (including a malicious mirror or proxy) between an APT client and an archive server triggered by a package install can trick the client into installing an attacker-controlled unverified package and achieve remote code execution with root privileges.



The vulnerability is caused by the reuse of hard links and requires the client to follow redirects and retry the download of package files. It requires the client to have a non-zero Acquire::Retries configuration setting; the value 3 is the default starting with Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish), so older releases are unaffected in a default configuration
Published: 2026-11-04
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Apply Security Update
AI Analysis

Impact

The vulnerability allows an on‑path attacker who can interpose in HTTP traffic between an APT client and its archive server to force the client to install an attacker‑controlled, unverified package, which in turn grants remote code execution with root privileges. It is triggered by the reuse of hard links during package downloads, a classic race‑condition flaw (CWE‑367) that enables arbitrary file content replacement, and also involves improper handling of input that can be modelled as an injection weakness (CWE‑62). The flaw requires the client to follow redirects and retry the download of package files. This flaw is only exploitable when the client’s Acquire::Retries configuration is non‑zero, which is the default (value 3) for Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish); earlier releases are unaffected by the default configuration.

Affected Systems

Affected products are the APT client component in Debian and Ubuntu Linux distributions. The default configuration that makes the flaw exploitable applies to Debian 12 and newer releases, as well as Ubuntu 22.04 LTS and newer. No specific package or version numbers are listed, but the vulnerability affects any installation that uses the default Acquire::Retries setting of 3.

Risk and Exploitability

The CVSS score of 7.7 categorises the flaw as high severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog, so the likelihood of a widespread exploitation is uncertain, though the ability to gain root privileges is a critical impact. An attacker needs to control the network path between the APT client and its archive server (for example, by running a malicious mirror or proxy) and the APT client must be configured to retry downloads. Because the vulnerability relies on hard‑link reuse, typical mitigations like disabling redirection retries or ensuring that only trusted mirrors are used can reduce the attack surface.

Generated by OpenCVE AI on November 4, 2026 at 17:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest security update for APT released by Debian and Ubuntu that addresses the hard‑link reuse issue.
  • Reduce or disable retry logic by setting Acquire::Retries to 0 in the APT configuration (e.g., in /etc/apt/apt.conf.d/99disable-retries).
  • Ensure that APT uses only verified mirrors and enforce strict package signature validation to prevent the installation of untrusted packages.

Generated by OpenCVE AI on November 4, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4880-1 apt security update
History

Wed, 04 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 04 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
References

Wed, 04 Nov 2026 16:00:00 +0000

Type Values Removed Values Added
Description On Debian, Ubuntu, and derivative Linux distributions, an on-path attacker who can manipulate the HTTP traffic (including a malicious mirror or proxy) between an APT client and an archive server triggered by a package install can trick the client into installing an attacker-controlled unverified package and achieve remote code execution with root privileges. The vulnerability is caused by the reuse of hard links and requires the client to follow redirects and retry the download of package files. It requires the client to have a non-zero Acquire::Retries configuration setting; the value 3 is the default starting with Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish), so older releases are unaffected in a default configuration
Title APT RCE via hard link reuse
Weaknesses CWE-367
CWE-62
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-11-04T18:20:21.869Z

Reserved: 2026-10-12T18:44:13.619Z

Link: CVE-2026-109518

cve-icon Vulnrichment

Updated: 2026-11-04T16:08:21.414Z

cve-icon NVD

Status : Received

Published: 2026-11-04T16:17:33.010

Modified: 2026-11-04T19:17:18.327

Link: CVE-2026-109518

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T17:45:07Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-62

    UNIX Hard Link