CVE-2026-11386ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive…
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ubuntu-advantage-tools | Fixed | 37.2ubuntu0.1 | UBUNTU-CVE-2026-11386 |
| Ubuntu 25.10 | ubuntu-advantage-tools | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-11386 | |
| Ubuntu 24.04 | ubuntu-advantage-tools | Fixed | 37.2ubuntu~24.04.1 | UBUNTU-CVE-2026-11386 |
| Ubuntu 22.04 | ubuntu-advantage-tools | Fixed | 37.2ubuntu~22.04.1 | UBUNTU-CVE-2026-11386 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical ubuntu-pro-client (ubuntu-advantage-tools): affected: before 37.3; fixed in
37.3 - Canonical Ubuntu 26.04 LTS: affected: 37.2ubuntu0.1 not affected
- Canonical Ubuntu 24.04 LTS: affected: 37.2ubuntu~24.04.1 not affected
- Canonical Ubuntu 22.04 LTS: affected: 37.2ubuntu~22.04.1 not affected
- Canonical Ubuntu 20.04 LTS: affected: 37.1ubuntu0~20.04.1 not affected
- Canonical Ubuntu 18.04 LTS: affected: 37.1ubuntu0~18.04.1 not affected
- Canonical Ubuntu 16.04 LTS: affected: 37.1ubuntu0~16.04.1 not affected
- Canonical Ubuntu 14.04 LTS: affected: 19.7ubuntu0.1 not affected
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.