CVE-2026-11386 Details
Description
An input validation and injection vulnerability exists in Canonical ubuntu-pro-client (formerly ubuntu-advantage-tools). The client constructs APT source files (such as /etc/apt/sources.list.d/ubuntu-.list or their DEB822 equivalents) using data received directly from the contract server response via the directives.suites[] and directives.aptURL fields. Because the client utilizes Python's str.format() to write these files without performing escaping, validation, or newline character filtering, a malicious or tampered contract response containing embedded newline (\n) characters can successfully inject arbitrary, attacker-controlled deb configuration lines into root-owned APT sources. When combined with the unvalidated additionalPackages[] field—which is passed positionally into a root-executed apt-get install command—an attacker capable of spoofing or manipulating the contract response (e.g., via a compromised internal infrastructure, an intercepted connection utilizing a trusted CA, or local logical bugs) can force the client to fetch and install malicious packages. This ultimately leads to arbitrary code execution with root privileges on the affected system. This component is preinstalled on supported Ubuntu Server releases and auto-attaches by default on cloud provider Ubuntu Pro images.
A vulnerability allowing input validation and injection has been identified in Canonical Ubuntu Pro Client (formerly Ubuntu Advantage Tools). This issue arises because the client creates APT source files using data from the contract server response, specifically the directives.suites[] and directives.aptURL fields. The client employs Python's str.format() method to generate these files without proper escaping, validation, or filtering of newline characters. As a result, a malicious or altered contract response containing embedded newline characters can inject arbitrary, attacker-controlled Debian configuration lines into root-owned APT sources. When this vulnerability is exploited in conjunction with the unvalidated additionalPackages[] field— which is directly passed to a root-executed apt-get install command—an attacker who can manipulate the contract response can force the client to download and install malicious packages. This chain of events ultimately leads to arbitrary code execution with root privileges on the affected system. This vulnerability affects all supported Ubuntu Server releases and is automatically included by default on cloud provider Ubuntu Pro images.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://ubuntu.com/security/CVE-2026-11386 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | New CVE Received | [email protected] |