Advisory

UBUNTU-CVE-2026-11386

Also known as: CVE-2026-11386

Summary

The record has no summary.

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

Severity

Critical Basis: CVSS v3 score 9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2026-07-17 14:00 UTC
Modified
2026-07-29 10:18 UTC

Affected packages and fixes

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 37.2ubuntu~22.04.1 (ecosystem)

Fixed versions

37.2ubuntu~22.04.1

Fix

  • Fixed version 37.2ubuntu~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 37.2ubuntu~24.04.1 (ecosystem)

Fixed versions

37.2ubuntu~24.04.1

Fix

  • Fixed version 37.2ubuntu~24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 37.2ubuntu0.1 (ecosystem)

Fixed versions

37.2ubuntu0.1

Fix

  • Fixed version 37.2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences