{"schemaVersion":3,"id":"CVE-2026-11386","aliases":["UBUNTU-CVE-2026-11386"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-16T12:16:02.508Z","modified":"2026-07-16T13:31:16.910Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":5.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00526,"percentile":0.43294,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00526},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00526,"percentile":0.43294}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00526,"percentile":0.43294}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"canonical","product":"ubuntu-pro-client (ubuntu-advantage-tools)","name":"ubuntu-pro-client (ubuntu-advantage-tools)","label":"ubuntu-pro-client (ubuntu-advantage-tools)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 37.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 37.3","eol":null,"hubHref":"/vendor/canonical/ubuntu-pro-client_ubuntu-advantage-tools"},{"vendor":"ubuntu","product":"ubuntu-advantage-tools","name":"ubuntu-advantage-tools","label":"ubuntu-advantage-tools","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ubuntu-advantage-tools","purlType":"deb","versions":[{"text":"< 37.2ubuntu~22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 37.2ubuntu~24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 37.2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 37.2ubuntu~22.04.1 | < 37.2ubuntu~24.04.1 | All versions (No fix recorded) | < 37.2ubuntu0.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ubuntu.com/security/CVE-2026-11386","label":"ubuntu.com/security/CVE-2026-11386","hostname":"ubuntu.com","tags":["VDB Entry","REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-11386","label":"www.cve.org/CVERecord?id=CVE-2026-11386","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8555-1","label":"ubuntu.com/security/notices/USN-8555-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8555-1"],"duplicates":[],"related":["USN-8555-1"]},"timeline":[{"kind":"published","date":"2026-07-16T12:16:02.508Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-16T13:31:16.910Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:46:25.898Z","stale":false,"partial":false}}