CVE-2026-11386
ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution
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.
INFO
Published Date :
July 16, 2026, 1:16 p.m.
Last Modified :
July 16, 2026, 1:51 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-11386
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | cc1ad9ee-3454-478d-9317-d3e869d708bc | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update the ubuntu-pro-client package.
- Verify APT source files for malicious entries.
- Review contract server responses for integrity.
- Disable the client if unable to update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-11386.
| URL | Resource |
|---|---|
| https://ubuntu.com/security/CVE-2026-11386 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-11386 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-11386
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-11386 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-11386 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Jul. 16, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/canonical/ubuntu-pro-client', 'vendor': 'Canonical', 'product': 'ubuntu-pro-client (ubuntu-advantage-tools)', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '37.3', 'versionType': 'python'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-pro-client', 'collectionURL': 'https://github.com/canonical/', 'defaultStatus': 'unaffected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 26.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.2ubuntu0.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/resolute', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 24.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.2ubuntu~24.04.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/noble', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 22.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.2ubuntu~22.04.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/jammy', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 20.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.1ubuntu0~20.04.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/focal', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 18.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.1ubuntu0~18.04.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/bionic', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 16.04 LTS', 'versions': [{'status': 'unaffected', 'version': '37.1ubuntu0~16.04.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/xenial', 'defaultStatus': 'affected'}, {'repo': 'https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools', 'vendor': 'Canonical', 'product': 'Ubuntu 14.04 LTS', 'versions': [{'status': 'unaffected', 'version': '19.7ubuntu0.1', 'versionType': 'dpkg'}], 'platforms': ['Linux'], 'packageName': 'ubuntu-advantage-tools', 'collectionURL': 'https://launchpad.net/ubuntu/trusty', 'defaultStatus': 'affected'}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-20 Added Reference https://ubuntu.com/security/CVE-2026-11386