APT RCE via hard link reuse
- CVE-2026-109518
- GHSA-jw32-37xr-xwfw
- EUVD-2026-116969
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
Text from the CVE.org record.
Recommendation
Debian APT
- If you run 3.3.xupdate to 3.3.6 or laterPatch update: breaking changes are unlikely
- If you run 3.2.xupdate to 3.2.1 or laterPatch update: breaking changes are unlikely
- If you run 3.0.xupdate to 3.0.4 or laterPatch update: breaking changes are unlikely
- If you run 2.8.xupdate to 2.8.4 or laterPatch update: breaking changes are unlikely
- If you run 2.6.xupdate to 2.6.2 or laterPatch update: breaking changes are unlikely
- If you run 2.4.xupdate to 2.4.15 or laterPatch update: breaking changes are unlikely
- If you run 2.2.xupdate to 2.2.5 or laterPatch update: breaking changes are unlikely
- If you run 2.0.xupdate to 2.0.12 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Ubuntu APT
- If you run 3.3.xupdate to 3.3.3ubuntu0.1 or laterPatch update: breaking changes are unlikely
- If you run 3.2.xupdate to 3.2.1ubuntu0.1 or laterPatch update: breaking changes are unlikely
- If you run 2.8.xupdate to 2.8.4ubuntu0.1 or laterPatch update: breaking changes are unlikely
- If you run 2.4.xupdate to 2.4.15ubuntu0.1 or laterPatch update: breaking changes are unlikely
- If you run 2.0.xupdate to 2.0.12+esm1 or laterPatch update: breaking changes are unlikely
- If you run 1.6.xupdate to 1.6.19+esm1 or laterPatch update: breaking changes are unlikely
- If you run 1.2.xupdate to 1.2.36+esm1 or laterPatch update: breaking changes are unlikely
- If you run a version before 1.0.1ubuntu2.24+esm4update to 1.0.1ubuntu2.24+esm4 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Debian APT
Affected versions Fixed in from 3.3.0 to before 3.3.6 3.3.6 from 3.2.0 to before 3.2.1 3.2.1 from 3.0.0 to before 3.0.4 3.0.4 from 2.8.0 to before 2.8.4 2.8.4 from 2.6.0 to before 2.6.2 2.6.2 from 2.4.0 to before 2.4.15 2.4.15 from 2.2.0 to before 2.2.5 2.2.5 from 2.0.0 to before 2.0.12 2.0.12 and 5 more
Ubuntu APT
Affected versions Fixed in from 3.3.0 to before 3.3.3ubuntu0.1 3.3.3ubuntu0.1 from 3.2.0 to before 3.2.1ubuntu0.1 3.2.1ubuntu0.1 from 2.8.0 to before 2.8.4ubuntu0.1 2.8.4ubuntu0.1 from 2.4.0 to before 2.4.15ubuntu0.1 2.4.15ubuntu0.1 from 2.0.0 to before 2.0.12+esm1 2.0.12+esm1 from 1.6.0 to before 1.6.19+esm1 1.6.19+esm1 from 1.2.0 to before 1.2.36+esm1 1.2.36+esm1 before 1.0.1ubuntu2.24+esm4 1.0.1ubuntu2.24+esm4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.