{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-11386","id":"CVE-2026-11386","title":"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.for","descriptionLong":"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.","published":"2026-07-16T12:16:02.508Z","updated":"2026-07-16T14:16:48.040Z","reserved":"2026-06-05T15:11:57.169Z","status":"Awaiting Analysis","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"canonical"},"metrics":[{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"canonical"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"ubuntu.com"}],"rating":"critical","products":["Canonical ubuntu-pro-client (ubuntu-advantage-tools)","Canonical Ubuntu 26.04 LTS","Canonical Ubuntu 24.04 LTS","Canonical Ubuntu 22.04 LTS","Canonical Ubuntu 20.04 LTS","Canonical Ubuntu 18.04 LTS","Canonical Ubuntu 16.04 LTS","Canonical Ubuntu 14.04 LTS"],"affectedProducts":[{"vendor":"Canonical","product":"ubuntu-pro-client (ubuntu-advantage-tools)","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"37.3","versionType":"python"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 26.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.2ubuntu0.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 24.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.2ubuntu~24.04.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 22.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.2ubuntu~22.04.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 20.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.1ubuntu0~20.04.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 18.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.1ubuntu0~18.04.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 16.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"37.1ubuntu0~16.04.1","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 14.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"19.7ubuntu0.1","versionType":"dpkg"}],"platforms":["Linux"]}],"packages":[],"cwes":["CWE-20"],"aliases":[],"references":[{"url":"https://ubuntu.com/security/CVE-2026-11386","tags":["vdb-entry"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00526,"epssPercentile":0.45311,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-11386","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11386","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-11386","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-11386","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}