Exploit database

Vulnerability

CVE-2026-109518

APT RCE via hard link reuse

Vulnerability details

Score
7.7
Severity
high

CVSS 4.0 · canonical

Vector string

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

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

CVE Program

Exploit source choices

1 source
jordanhardee/cve-2026-109518-apt-patch-proxmox-and-generic
GH-baa1948fa181370bee4d9c39b5f9a2deGitHubUnofficial GitHub sourcePreferred

Silly little patch for cve-2026-109518 for apt targeting generic linux and Proxmox host, VM's, containers. CVE happily fixed now by post package maintainers but could be of use. This is how I fixed it while an actual fix was being developed. Tested to work and vibe coded with Claude Opus 5.5.

2026-11-054 files · 2 stars