{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-11386",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-11386",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-16T12:16:02.508Z",
    "updatedAt": "2026-07-16T13:31:16.910Z",
    "importedAt": "2026-10-24T01:57:50.502Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution",
      "summary": "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.",
      "affected": [
        {
          "vendor": "Canonical",
          "product": "ubuntu-pro-client (ubuntu-advantage-tools)",
          "packageName": "ubuntu-pro-client",
          "collectionURL": "https://github.com/canonical/",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "python",
              "lessThan": "37.3"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 26.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/resolute",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.2ubuntu0.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 24.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/noble",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.2ubuntu~24.04.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 22.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/jammy",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.2ubuntu~22.04.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 20.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/focal",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.1ubuntu0~20.04.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 18.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/bionic",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.1ubuntu0~18.04.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 16.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/xenial",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "37.1ubuntu0~16.04.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        },
        {
          "vendor": "Canonical",
          "product": "Ubuntu 14.04 LTS",
          "packageName": "ubuntu-advantage-tools",
          "collectionURL": "https://launchpad.net/ubuntu/trusty",
          "platforms": [
            "Linux"
          ],
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "19.7ubuntu0.1",
              "status": "unaffected",
              "versionType": "dpkg"
            }
          ]
        }
      ]
    }
  }
}