CVE-2026-109518
JSON

7.7high

APT RCE via hard link reuse

Severity
7.7high CVSS:4.0 by canonical
Exploit likelihood
1.17% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical

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

Affected

Product or packageVersionsReported by
aptbefore 1.2.36, from 1.4.0 before 1.4.12, from 1.6.0 before 1.6.19, from 1.8.0 before 1.8.2.4, from 1.8.3 up to 1.8.5, from 2.0.0 before 2.0.12, from 2.2.0 before 2.2.5, from 2.4.0 before 2.4.15 and 13 moreCVE List

Classification

CWE-62CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-109518 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-109518 changed 2026-11-12Public domain