p PatchFirst

CVE-2026-109518

CVE-2026-109518 · APT RCE via hard link reuse

CVSS 7.7 · High · EPSS 0.7% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • aptUpdate to 1.2.36 / 1.4.12 / 1.6.19 …
  • apt Alpine 3.24Update to 3.2.1-r0
  • apt Debian 12Update to 2.6.2
  • apt Debian 13Update to 3.0.4
  • and 9 more

Check the installed version:

apk list -I -o apt
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="apt"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

  • RHSA-2026:96036 · Red Hat hummingbird 1 ·
  • USN-8996-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu 26.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • DLA-4880-1 · Debian 12 ·
  • DSA-6607-1 · Debian 13 ·

Stack: system

Affected products and versions

  • apt

    Versions
    • ≥ 0, < 1.2.36: Affected (dpkg)
    • ≥ 1.4.0, < 1.4.12: Affected (dpkg)
    • ≥ 1.6.0, < 1.6.19: Affected (dpkg)
    • ≥ 1.8.0, < 1.8.2.4: Affected (dpkg)
    • ≥ 1.8.3, ≤ 1.8.5: Affected (dpkg)
    • ≥ 2.0.0, < 2.0.12: Affected (dpkg)
    All versions (13)
    • ≥ 2.2.0, < 2.2.5: Affected (dpkg)
    • ≥ 2.4.0, < 2.4.15: Affected (dpkg)
    • ≥ 2.6.0, < 2.6.2: Affected (dpkg)
    • ≥ 2.8.0, < 2.8.4: Affected (dpkg)
    • ≥ 3.0.0, < 3.0.4: Affected (dpkg)
    • ≥ 3.2.0, < 3.2.1: Affected (dpkg)
    • ≥ 3.3.0, < 3.3.6: Affected (dpkg)

    Update to 1.2.36; Update to 1.4.12; Update to 1.6.19; Update to 1.8.2.4; Update to 2.0.12; Update to 2.2.5; Update to 2.4.15; Update to 2.6.2; Update to 2.8.4; Update to 3.0.4; Update to 3.2.1; Update to 3.3.6

  • apt

    Versions
    • ≥ 0, < 1.0.1ubuntu2.24+esm4: Affected (dpkg)
    • ≥ 1.2.0, < 1.2.36+esm1: Affected (dpkg)
    • ≥ 1.6.0, < 1.6.19+esm1: Affected (dpkg)
    • ≥ 2.0.0, < 2.0.12+esm1: Affected (dpkg)
    • ≥ 2.4.0, < 2.4.15ubuntu0.1: Affected (dpkg)
    • ≥ 2.8.0, < 2.8.4ubuntu0.1: Affected (dpkg)
    All versions (8)
    • ≥ 3.2.0, < 3.2.1ubuntu0.1: Affected (dpkg)
    • ≥ 3.3.0, < 3.3.3ubuntu0.1: Affected (dpkg)

    Update to 1.0.1ubuntu2.24+esm4; Update to 1.2.36+esm1; Update to 1.6.19+esm1; Update to 2.0.12+esm1; Update to 2.4.15ubuntu0.1; Update to 2.8.4ubuntu0.1; Update to 3.2.1ubuntu0.1; Update to 3.3.3ubuntu0.1

  • apt Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.2.1-r0

    Update to 3.2.1-r0

  • apt Debian 12

    Versions
    • 2.6.1
    Affected ranges
    • ECOSYSTEM: < 2.6.2

    Update to 2.6.2

  • apt Debian 13

    Versions
    • 3.0.3
    Affected ranges
    • ECOSYSTEM: < 3.0.4

    Update to 3.0.4

  • apt Debian 14

    Versions
    • 3.0.3
    • 3.0.4
    • 3.1.0
    • 3.1.1
    • 3.1.10
    • 3.1.11
    All versions (26)
    • 3.1.12
    • 3.1.13
    • 3.1.14
    • 3.1.15
    • 3.1.16
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.6
    • 3.1.7
    • 3.1.8
    • 3.1.9
    • 3.2.0
    • 3.3.0
    • 3.3.1
    • 3.3.2
    • 3.3.3
    • 3.3.4
    • 3.3.5
    Affected ranges
    • ECOSYSTEM: < 3.3.6

    Update to 3.3.6

  • apt Ubuntu Pro 14.04 LTS

    Versions
    • 0.9.9.1~ubuntu3
    • 0.9.9.1~ubuntu4
    • 0.9.9.1~ubuntu5
    • 0.9.13~exp1ubuntu1
    • 0.9.13~exp1ubuntu2
    • 0.9.13~exp1ubuntu3
    All versions (39)
    • 0.9.13.1~ubuntu1
    • 0.9.14.1ubuntu1
    • 0.9.14.1ubuntu2
    • 0.9.15.1ubuntu1
    • 0.9.15.4ubuntu1
    • 0.9.15.4ubuntu2
    • 0.9.15.4ubuntu3
    • 0.9.15.4ubuntu4
    • 0.9.15.4ubuntu5
    • 1.0.1ubuntu2
    • 1.0.1ubuntu2.1
    • 1.0.1ubuntu2.3
    • 1.0.1ubuntu2.4.1
    • 1.0.1ubuntu2.5
    • 1.0.1ubuntu2.6
    • 1.0.1ubuntu2.7
    • 1.0.1ubuntu2.8
    • 1.0.1ubuntu2.9
    • 1.0.1ubuntu2.10
    • 1.0.1ubuntu2.11
    • 1.0.1ubuntu2.12
    • 1.0.1ubuntu2.13
    • 1.0.1ubuntu2.14
    • 1.0.1ubuntu2.15
    • 1.0.1ubuntu2.17
    • 1.0.1ubuntu2.18
    • 1.0.1ubuntu2.19
    • 1.0.1ubuntu2.20
    • 1.0.1ubuntu2.22
    • 1.0.1ubuntu2.23
    • 1.0.1ubuntu2.24
    • 1.0.1ubuntu2.24+esm1
    • 1.0.1ubuntu2.24+esm3
    Affected ranges
    • ECOSYSTEM: < 1.0.1ubuntu2.24+esm4

    Update to 1.0.1ubuntu2.24+esm4

  • apt Ubuntu Pro 16.04 LTS

    Versions
    • 1.0.10.2ubuntu1
    • 1.1.4
    • 1.1.5
    • 1.1.10
    • 1.2.3
    • 1.2.4
    All versions (29)
    • 1.2.6
    • 1.2.7
    • 1.2.8
    • 1.2.9
    • 1.2.10
    • 1.2.10ubuntu1
    • 1.2.12~ubuntu16.04.1
    • 1.2.15
    • 1.2.15ubuntu0.2
    • 1.2.18
    • 1.2.19
    • 1.2.20
    • 1.2.24
    • 1.2.25
    • 1.2.26
    • 1.2.27
    • 1.2.29
    • 1.2.29ubuntu0.1
    • 1.2.31
    • 1.2.32
    • 1.2.32ubuntu0.1
    • 1.2.32ubuntu0.2
    • 1.2.35
    Affected ranges
    • ECOSYSTEM: < 1.2.36+esm1

    Update to 1.2.36+esm1

  • apt Ubuntu Pro 18.04 LTS

    Versions
    • 1.5
    • 1.5.1
    • 1.6~alpha5
    • 1.6~alpha7ubuntu1
    • 1.6~alpha7ubuntu2
    • 1.6~beta1
    All versions (24)
    • 1.6~rc1
    • 1.6
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.3ubuntu0.1
    • 1.6.6
    • 1.6.6ubuntu0.1
    • 1.6.8
    • 1.6.10
    • 1.6.11
    • 1.6.12
    • 1.6.12ubuntu0.1
    • 1.6.12ubuntu0.2
    • 1.6.13
    • 1.6.14
    • 1.6.17
    • 1.6.18~esm1
    Affected ranges
    • ECOSYSTEM: < 1.6.19+esm1

    Update to 1.6.19+esm1

  • apt Ubuntu Pro 20.04 LTS

    Versions
    • 1.9.4
    • 1.9.5
    • 1.9.7
    • 1.9.8
    • 1.9.9
    • 1.9.10
    All versions (19)
    • 2.0.0
    • 2.0.1
    • 2.0.1ubuntu1
    • 2.0.2
    • 2.0.2ubuntu0.1
    • 2.0.2ubuntu0.2
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.8
    • 2.0.9
    • 2.0.10
    • 2.0.11
    Affected ranges
    • ECOSYSTEM: < 2.0.12+esm1

    Update to 2.0.12+esm1

  • apt Ubuntu 22.04 LTS

    Versions
    • 2.3.9
    • 2.3.11
    • 2.3.12
    • 2.3.13
    • 2.3.14
    • 2.3.15
    All versions (19)
    • 2.3.15build1
    • 2.4.1
    • 2.4.3
    • 2.4.5
    • 2.4.6
    • 2.4.7
    • 2.4.8
    • 2.4.9
    • 2.4.10
    • 2.4.11
    • 2.4.12
    • 2.4.13
    • 2.4.14
    Affected ranges
    • ECOSYSTEM: < 2.4.15ubuntu0.1

    Update to 2.4.15ubuntu0.1

  • apt Ubuntu 24.04 LTS

    Versions
    • 2.7.3
    • 2.7.6
    • 2.7.10
    • 2.7.11
    • 2.7.12
    • 2.7.14
    All versions (8)
    • 2.7.14build2
    • 2.8.3
    Affected ranges
    • ECOSYSTEM: < 2.8.4ubuntu0.1

    Update to 2.8.4ubuntu0.1

  • apt Ubuntu 26.10

    Versions
    • 3.2.0
    • 3.3.2
    • 3.3.3
    Affected ranges
    • ECOSYSTEM: < 3.3.3ubuntu0.1

    Update to 3.3.3ubuntu0.1

  • apt Ubuntu 26.04 LTS

    Versions
    • 3.1.6ubuntu2
    • 3.1.8ubuntu1
    • 3.1.11
    • 3.1.12
    • 3.1.13
    • 3.1.14
    All versions (9)
    • 3.1.15
    • 3.1.16
    • 3.2.0
    Affected ranges
    • ECOSYSTEM: < 3.2.1ubuntu0.1

    Update to 3.2.1ubuntu0.1

Original sources

Check your server →