Cybersecurity news

Jessica Doner

Back to the list

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

The Hacker News,

A flaw in the Debian and Ubuntu package manager lets attackers swap verified packages and run code as root during download retries.

Vulnerabilities and patchesHacker groups and nation states

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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related