# CVE-2026-11386: ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution

- Priority: **Prioritise**
- Reason: Severe, CVSS 9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 37.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-16 · Modified: 2026-07-16
- Aliases: UBUNTU-CVE-2026-11386
- Record: https://cvemate.com/vulnerability/CVE-2026-11386 · JSON: https://cvemate.com/vulnerability/CVE-2026-11386/json

## Description

```text
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.
```

## Signals

- CVSS: 9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.342%, percentile 29.667%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical ubuntu-pro-client (ubuntu-advantage-tools): \< 37.3
- ubuntu ubuntu-advantage-tools (Ubuntu): \< 37.2ubuntu~22.04.1 \| \< 37.2ubuntu~24.04.1 \| All versions (No fix recorded) \| \< 37.2ubuntu0.1

## References

- <https://ubuntu.com/security/CVE-2026-11386>
- <https://www.cve.org/CVERecord?id=CVE-2026-11386>
- <https://ubuntu.com/security/notices/USN-8555-1>

---

Data as of 2026-12-05T14:10:34.739Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
