CVE-2026-11386
Reported by canonical · Published July 16, 2026
ubuntu-pro-client is fixed in 37.3 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ubuntu-pro-client | GitHub Packages | 37.3 |
| ubuntu-advantage-tools | launchpad.net | 37.2ubuntu0.1, 37.2ubuntu~24.04.1, 37.2ubuntu~22.04.1, 37.1ubuntu0~20.04.1, 37.1ubuntu0~18.04.1, 37.1ubuntu0~16.04.1, 19.7ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | ubuntu-pro-client (ubuntu-advantage-tools) | 0 |
| Canonical | Ubuntu 26.04 LTS | 37.2ubuntu0.1 |
| Canonical | Ubuntu 24.04 LTS | 37.2ubuntu~24.04.1 |
| Canonical | Ubuntu 22.04 LTS | 37.2ubuntu~22.04.1 |
| Canonical | Ubuntu 20.04 LTS | 37.1ubuntu0~20.04.1 |
| Canonical | Ubuntu 18.04 LTS | 37.1ubuntu0~18.04.1 |
| Canonical | Ubuntu 16.04 LTS | 37.1ubuntu0~16.04.1 |
| Canonical | Ubuntu 14.04 LTS | 19.7ubuntu0.1 |
| Canonical | Ubuntu 16.04 LTS | 37.1ubuntu0~16.04.1 |
| Canonical | Ubuntu 26.04 LTS | 37.2ubuntu0.1 |
| Canonical | Ubuntu 24.04 LTS | 37.2ubuntu~24.04.1 |
| Canonical | Ubuntu 22.04 LTS | 37.2ubuntu~22.04.1 |
| Canonical | Ubuntu 20.04 LTS | 37.1ubuntu0~20.04.1 |
| Canonical | Ubuntu 14.04 LTS | 19.7ubuntu0.1 |
| Canonical | Ubuntu 18.04 LTS | 37.1ubuntu0~18.04.1 |
| Canonical | ubuntu-pro-client (ubuntu-advantage-tools) | 0 |
Timeline
- Jul 16, 2026 Coalition ESS Score
- Jul 16, 2026 CVE Published
- Jul 16, 2026 CVE Updated
- Jul 19, 2026 Security Advisory (2 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 12, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-11386
vulnetix vdb fixes CVE-2026-11386
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-11386/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart