Article View: hispagatos.talk
Article #88CVE-2026-109518: apt Flaw Lets Attackers Swap Packages After Verification and Run Code as Root
From: Changeling
Date: Tue, 17 Nov 2026 16:59
Date: Tue, 17 Nov 2026 16:59
25 lines
1889 bytes
1889 bytes
https://www.stepsecurity.io/blog/cve-2026-109518-apt-package-swap-root On November 4, 2026, Debian and Ubuntu shipped fixes for CVE-2026-109518, a flaw in apt, the package manager used by Debian, Ubuntu, and most of their derivatives. An attacker who can tamper with the network traffic between a machine and its package mirror can swap a package after apt has verified it. Packages install as root, so the attacker's code runs with full control of the machine. The flaw was found by Max Justicz, who also found CVE-2019-3462, a similar apt bug, in 2019. Both bugs involve APT’s HTTP download handling and undermine the verification that normally protects package installation. This matters for CI/CD. sudo apt-get install is one of the most common steps in GitHub Actions workflows, Dockerfiles, and runner images. This post explains how the attack works, who is exposed, and the steps to take on self-hosted runners, GitHub-hosted runners, container images, package mirrors, and developer machines.
Technical Details
Message-ID:
<11di16a$2mhuf$1@matrix.hispagatos.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!.POSTED!not-for-mail From: Changeling <changeling@meow.invalid> Newsgroups: hispagatos.talk,hispagatos.hacking.news Subject: CVE-2026-109518: apt Flaw Lets Attackers Swap Packages After Verification and Run Code as Root Date: Tue, 17 Nov 2026 11:59:44 -0500 Organization: Hispagatos.org Message-ID: <11di16a$2mhuf$1@matrix.hispagatos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 17 Nov 2026 16:59:54 -0000 (UTC) Injection-Info: matrix.hispagatos.org; logging-data="2836431"; mail-complaints-to="abuse@hispagatos.org" User-Agent: Mozilla Thunderbird Content-Language: en-US