The Morning Dev

Only the news worth knowing

‹
 
B46/100

Vulnerability · high · CVSS 7.7

APT flaw CVE-2026-109518 lets man-in-the-middle attackers swap packages after verification on Debian and Ubuntu

Tier B · Patch this week – Put it in the sprint

Who’s exposed: Debian and Ubuntu systems running apt with package downloads over HTTP

Tier B because: Full takeover OR secrets exposed OR supply chain

Reach

Attack

Damage

Fix

Core infrastructure · Popular tool · Full takeover

What to do

  1. Upgrade apt packages to the fixed version for your Debian or Ubuntu release

The Brief

  • A flaw in APT lets an attacker who can modify package downloads swap a verified package for their own.
  • According to advisories from Debian, Ubuntu and APT developers, the attacker's code then runs as root.
  • Debian's advisory recommends upgrading apt packages.

Why it matters

Any apt client that fetches packages over plain HTTP from a compromised mirror or from a position on the network path could be exposed to root code execution.

The checklist behind the tier

Checklist · 4 of 10 yes
YesHits tech teamsapt is the package manager developers and ops teams use on Debian and Ubuntu systems.
YesCore infrastructureapt is core package infrastructure that nearly every Debian and Ubuntu team runs.
YesPopular toolapt is a mainstream OS package manager; core infrastructure is always popular tooling.
NoExploited in the wildNo source reports observed attacks or a KEV listing; HN describes the flaw as allowing an attacker, not active exploitation.
NoPublic exploitSources mention only Debian, Ubuntu and APT advisories; none says exploit code or a PoC is published.
NoRemote, no loginCVSSCVSS: CVE-2026-109518 AV:N/PR:N/UI:P
YesFull takeoverCVSSCVE-2026-109518: CVSS rates confidentiality and integrity impact high
NoSecrets exposedNo source reports stolen credentials, keys, configs, source code or user data.
NoSupply chainThe official package is not compromised; the swap happens in transit after verification, not via a trusted project's channel.
NoNo fix yetStep Security: patch vulnerable APT clients; Debian, Ubuntu and APT developers published advisories, implying fixed versions.

The official record

From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.

Timeline

  1. Debian, Ubuntu and APT developers publish advisories

  2. Hacker News

    100 points · 78 comments

  3. Lobsters

    Man-in-the-middle arbitrary code execution in Debian’s apt

  4. Lobsters

    3 points · 0 comments

  5. The Hacker News

    Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root

  6. Step Security Blog

    CVE-2026-109518: apt Flaw Lets Attackers Swap Packages After Verification and Run Code as Root

Full coverage · 3 sources

What developers are saying

Based on 78 comments · Mostly critical

Commenters are alarmed that apt downloads packages over plain HTTP, which lets a man-in-the-middle see and tamper with them. Many argue that package signatures alone are not enough and that repositories should use HTTPS by default. Some note that the advisory gives little guidance on safely updating apt itself, and others say their own systems are not affected.

  • Plain HTTP transport35%
  • Signing is not enough25%
  • Redirect feature should be opt-in15%
  • No safe upgrade guidance15%
  • Systems not affected10%

In favour

    Concerns

    • − Packages are fetched over plain HTTP, exposing traffic and enabling tampering
    • − Verification happens too late, after the package is already on disk
    • − The redirect feature has been broken seriously twice, and its need is questioned
    • − Advisory gives little guidance on upgrading a vulnerable apt safely

    “It's always been strange to me and I've been saying forever that I don't get why package repos don't use HTTPS.”

    serbuvlad on Hacker News

    “I think this demonstrates exactly why everything should be https.”

    londons_explore on Hacker News

    “Yikes, that vuln in apt is pretty bad!”

    hiddenvulkcan on Hacker News

    First seen · 3 sources · 78 comments · Full story page · How tiers are decided