Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root
A flaw in the Debian and Ubuntu package manager lets attackers swap verified packages and run code as root during download retries.
Overview
A security flaw in APTA well-funded, organized hacking group, usually backed by a government, that runs long-term spying campaigns, the package managerA developer tool that downloads, installs, and updates software libraries from a central registry used by Debian and Ubuntu, allows attackers to replace verified software packages with malicious ones during installation. This vulnerability, identified as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-109518, enables the attacker's code to run with rootThe highest administrator permission level on a system, with unrestricted control over all files and programs privileges, giving them full control over the system. The attack succeeds when APT retries failed downloads, a feature enabled by default in Debian 12 and Ubuntu 22.04 and later versions. Attackers can trigger these retries using HTTP redirectsA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there and temporary serverA computer or program on a network that stores data and responds to requests from client devices errors to intercept the download process. Debian and Ubuntu have released fixed versions of APT to address the issue, which is rated as critical by developers and high priority by Ubuntu with a CVSS 4.0The standard rating scale used to score how severe a software security flaw is score of 7.7. Users of older releases like Debian 11 and Ubuntu 20.04 are not exposed by default, though some may be affected if they manually enabled the retry setting.
Terms in this story
- APT
- A well-funded, organized hacking group, usually backed by a government, that runs long-term spying campaigns. Security companies track each major state-sponsored group as an APT and study how it breaks into government, defense, and technology networks over many years. Security+ objective 2.1 lists the term
- package manager
- A developer tool that downloads, installs, and updates software libraries from a central registry. Every major programming language has a package manager, and supply chain attackers target them by uploading trojanized libraries that install automatically when developers build an app.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- Root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- redirects
- A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- CVSS 4.0
- The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- proxy
- An intermediate server that forwards network requests between a client and a destination server. Companies use a proxy to filter employee web traffic, while attackers route their traffic through chains of proxy servers to hide their real IP address.
- advisory
- An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
- HTTPS
- The secure version of the web protocol that wraps HTTP traffic inside TLS encryption. When a web address starts with HTTPS, your browser verifies the site's certificate and encrypts every page request and form submission between your device and the server. Security+ objective 1.4 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"Debian has released fixed versions of APT..." Found by reading the article; these exact words are in it - Who is affected: "Debian and Ubuntu..."
Copied word for word from the article - Security+ 2.1 Compare and contrast common threat actors and motivations.
"Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of security implications of software configurations.
"Acquire::Retries, on those releases anyway..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Debian, Ubuntu patch APT flaw that could hand attackers root
- Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates and Execute Code as Root