CVE-2026-11386
published critical CVSS 3.1 · 9.0ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | ubuntu-pro-clientubuntu-pro-client (ubuntu-advantage-tools) · 0 to < 37.3 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 26.04 LTS · 37.2ubuntu0.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 24.04 LTS · 37.2ubuntu~24.04.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 22.04 LTS · 37.2ubuntu~22.04.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Ubuntu | jammy | ubuntu-advantage-tools | Advisory build | 37.2ubuntu~22.04.1 | USN-8555-1 |
| Ubuntu | jammy | ubuntu-pro-client | Advisory build | 37.2ubuntu~22.04.1 | USN-8555-1 |
| Ubuntu | noble | ubuntu-advantage-tools | Advisory build | 37.2ubuntu~24.04.1 | USN-8555-1 |
| Ubuntu | noble | ubuntu-pro-client | Advisory build | 37.2ubuntu~24.04.1 | USN-8555-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | ubuntu-advantage-toolsUbuntu 20.04 LTS · 37.1ubuntu0~20.04.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 18.04 LTS · 37.1ubuntu0~18.04.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 16.04 LTS · 37.1ubuntu0~16.04.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Canonical | — | ubuntu-advantage-toolsUbuntu 14.04 LTS · 19.7ubuntu0.1 · Other versions: affected · Platforms: Linux | Unaffected | Not stated | canonical |
| Ubuntu | resolute | ubuntu-advantage-tools | Advisory build | 37.2ubuntu0.1 | USN-8555-1 |
| Ubuntu | resolute | ubuntu-pro-client | Advisory build | 37.2ubuntu0.1 | USN-8555-1 |
| Ubuntu | jammy | ubuntu-advantage-pro | Advisory build | 37.2ubuntu~22.04.1 | USN-8555-1 |
| Ubuntu | jammy | ubuntu-pro-auto-attach | Advisory build | 37.2ubuntu~22.04.1 | USN-8555-1 |
| Ubuntu | jammy | ubuntu-pro-client-l10n | Advisory build | 37.2ubuntu~22.04.1 | USN-8555-1 |
| Ubuntu | noble | ubuntu-advantage-pro | Advisory build | 37.2ubuntu~24.04.1 | USN-8555-1 |
| Ubuntu | noble | ubuntu-pro-auto-attach | Advisory build | 37.2ubuntu~24.04.1 | USN-8555-1 |
| Ubuntu | noble | ubuntu-pro-client-l10n | Advisory build | 37.2ubuntu~24.04.1 | USN-8555-1 |
| Ubuntu | resolute | ubuntu-advantage-pro | Advisory build | 37.2ubuntu0.1 | USN-8555-1 |
| Ubuntu | resolute | ubuntu-pro-auto-attach | Advisory build | 37.2ubuntu0.1 | USN-8555-1 |
| Ubuntu | resolute | ubuntu-pro-client-l10n | Advisory build | 37.2ubuntu0.1 | USN-8555-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | ubuntu-pro-client (ubuntu-advantage-tools) | 0 to < 37.3 (affected · python)Default: unaffected | canonical · cna |
| Canonical | Ubuntu 26.04 LTS | 37.2ubuntu0.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 24.04 LTS | 37.2ubuntu~24.04.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 22.04 LTS | 37.2ubuntu~22.04.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 20.04 LTS | 37.1ubuntu0~20.04.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 18.04 LTS | 37.1ubuntu0~18.04.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 16.04 LTS | 37.1ubuntu0~16.04.1 (unaffected · dpkg)Default: affected | canonical · cna |
| Canonical | Ubuntu 14.04 LTS | 19.7ubuntu0.1 (unaffected · dpkg)Default: affected | canonical · cna |
Weaknesses
1- CWE-20 CWE-20 Improper input validation
References
1Provider assertions
2canonical · cna
ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f05e387492045f668bf29db89f8f2d417ef7f02fb852509bcef79760f46c5800
- Ingested
- 23 Sep 2026, 09:00:42 UTC
- Source record
- Official CVE record