{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-11386 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-11386 is a critical command injection vulnerability in Canonical Ubuntu 14.04 LTS, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-11386 and fix it if it is affected.\n\nWhat it is: CVE-2026-11386 is a critical command injection vulnerability in Canonical Ubuntu 14.04 LTS, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-11386 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu 14.04 LTS. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-11386/ (Markdown: https://insights.sbomify.com/CVE-2026-11386/index.md)","id":"CVE-2026-11386","markdown":"https://insights.sbomify.com/CVE-2026-11386/index.md","name":"CVE-2026-11386","record":{"aliases":["GHSA-9836-vm3x-qwmj","UBUNTU-CVE-2026-11386"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Ubuntu Pro client","requires_auth":"none","summary":"Attacker can inject APT directives via contract server response to install malicious packages and execute code as root on Ubuntu systems.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution","id":"CVE-2026-11386","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"SMS Alert \u003c= 3.9.5 - Unauthenticated Privilege Escalation via Arbitrary Password Reset","id":"CVE-2026-11387"},"packages":[],"prev":{"headline":"Cross-site Scripting in IBM WebSphere Application Server shipped with Tivoli System Automation Application Manager","id":"CVE-2026-11383"},"products":["Ubuntu 14.04 LTS","Ubuntu 16.04 LTS","Ubuntu 18.04 LTS","Ubuntu 20.04 LTS","Ubuntu 22.04 LTS","Ubuntu 24.04 LTS","Ubuntu 26.04 LTS","ubuntu-pro-client (ubuntu-advantage-tools)"],"published":"2026-07-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-16","vendors":["Canonical"]},"summary":"Attacker can inject APT directives via contract server response to install malicious packages and execute code as root on Ubuntu systems.","url":"https://insights.sbomify.com/CVE-2026-11386/"}