APT RCE via hard link reuse
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 4, 2026
- Updated
- Nov 5, 2026
- Reserved
- Oct 12, 2026
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
| Product | Versions |
|---|---|
| APT Debian | before 1.2.36 Affected1.4.0 to before 1.4.12 Affected1.6.0 to before 1.6.19 Affected1.8.0 to before 1.8.2.4 Affected1.8.3 through 1.8.5 Affected2.0.0 to before 2.0.12 Affected2.2.0 to before 2.2.5 Affected2.4.0 to before 2.4.15 Affected2.6.0 to before 2.6.2 Affected2.8.0 to before 2.8.4 Affected3.0.0 to before 3.0.4 Affected3.2.0 to before 3.2.1 Affected3.3.0 to before 3.3.6 Affected |
| APT Ubuntu | before 1.0.1ubuntu2.24+esm4 Affected1.2.0 to before 1.2.36+esm1 Affected1.6.0 to before 1.6.19+esm1 Affected2.0.0 to before 2.0.12+esm1 Affected2.4.0 to before 2.4.15ubuntu0.1 Affected2.8.0 to before 2.8.4ubuntu0.1 Affected3.2.0 to before 3.2.1ubuntu0.1 Affected3.3.0 to before 3.3.3ubuntu0.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | canonical |
Weaknesses
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.