UBUNTU-CVE-2026-11386

Source
https://ubuntu.com/security/CVE-2026-11386
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11386.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-11386
Upstream
  • CVE-2026-11386
Downstream
Related
Published
2026-07-17T14:00:00Z
Modified
2026-07-16T16:00:16.237495469Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - high
Summary
[none]
Details

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-<name>.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.

References

Affected packages

Ubuntu:22.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu~22.04.1

Affected versions

27.*
27.2.2~21.10.1
27.3~21.10.1
27.4~22.04.1
27.4.1~22.04.1
27.4.2~22.04.1
27.5~22.04.1
27.6~22.04.1
27.7~22.04.1
27.8~22.04.1
27.9~22.04.1
27.10.1~22.04.1
27.11.2~22.04.1
27.11.3~22.04.1
27.12~22.04.1
27.13.1~22.04.1
27.13.2~22.04.1
27.13.3~22.04.1
27.13.5~22.04.1
27.13.6~22.04.1
27.14.4~22.04
28.*
28.1~22.04
29.*
29.4~22.04
30~22.*
30~22.04
31.*
31.2~22.04
31.2.2~22.04
31.2.3~22.04
32.*
32.3~22.04
32.3.1~22.04
33.*
33.2~22.04
34~22.*
34~22.04
35.*
35.1ubuntu0~22.04
36ubuntu0~22.*
36ubuntu0~22.04
37.*
37.1ubuntu0~22.04
37.2ubuntu~22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ],
    "priority_reason": "CVSS critical"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11386.json"

Ubuntu:24.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu~24.04.1

Affected versions

29.*
29.4
Other
30
30.*
30.1
31.*
31.1
31.2.2
31.2.2build1
31.2.3
32.*
32.3~24.04
32.3.1~24.04
33.*
33.2~24.04.1
34~24.*
34~24.04
35.*
35.1ubuntu0~24.04
36ubuntu0~24.*
36ubuntu0~24.04
37.*
37.1ubuntu0~24.04
37.2ubuntu~24.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ],
    "priority_reason": "CVSS critical"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11386.json"

Ubuntu:25.10 / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
35
36ubuntu0
37ubuntu0
35.*
35.1ubuntu0
37.*
37.1ubuntu0~25.10
37.2ubuntu~25.10

Ecosystem specific

{
    "priority_reason": "CVSS critical",
    "binaries": [
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11386.json"

Ubuntu:26.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu0.1

Affected versions

Other
37ubuntu0
37.*
37.1ubuntu0
37.2ubuntu

Ecosystem specific

{
    "availability": "No subscription required",
    "priority_reason": "CVSS critical",
    "binaries": [
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11386.json"