Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates and Execute Code as Root
A bug in the Debian and Ubuntu package manager allows a network spy to swap trusted software for malicious code running with root rights.
Overview
A newly disclosed bug 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 behind Debian and Ubuntu, can let a network spy swap a trusted software package for a bad one. The flaw is tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-109518 and can end in code running with rootThe highest administrator permission level on a system, with unrestricted control over all files and programs rights, the highest level of control on a Linux system. APT checks each package against signed data before it installs anything, but this flaw lets an attacker get around that check. When APT resumes an interrupted download, it handles the file incorrectly, opening a short window to replace the package after it has been verified. The attacker must sit between the computer and the archive serverA computer or program on a network that stores data and responds to requests from client devices, which could be someone on the same network, a rogue proxyAn intermediate server that forwards network requests between a client and a destination server, or a malicious mirror. The bug only works when APT's retry setting, Acquire::Retries, is above zero, a value that is 3 by default on Debian 12 and Ubuntu 22.04 LTS.
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.
- 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.
- 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.
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- redirect
- 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.
- 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.
- dependency
- An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- man-in-the-middle
- An attack where an eavesdropper secretly sits between two communicating sides to read or change traffic. On an unsecured wireless network, an attacker in a man-in-the-middle position can read unencrypted traffic or try to redirect browsers to fake login pages. Security+ objective 2.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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security 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
"A newly disclosed bug in 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 Hackers Hijack Software Updates and..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates and Execute..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......bad one. The flaw is tracked as CVE-2026-109518 and can end in code running..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates and..." Found in the headline - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......and Ubuntu APT Flaw Lets Hackers Hijack Software Updates and Execute Code as Root..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"Debian and Ubuntu APT Flaw Lets Hackers Hijack Software Updates..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Detect exploits against targeted networks and hosts and react accordingly.
"Execute Code as Root..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Patch network vulnerabilities to ensure information is safeguarded against outside parties.
"APT Flaw Lets Hackers Hijack Software Updates..." 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 MitM Attackers Swap Verified Packages and Run Code as Root