Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-11386: CWE-20 Improper input validation in Canonical ubuntu-pro-client (ubuntu-advantage-tools)

0
Critical
VulnerabilityCVE-2026-11386cvecve-2026-11386cwe-20
Published: 07/16/2026 (07/16/2026, 12:16:02 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: ubuntu-pro-client (ubuntu-advantage-tools)

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.

CVSS v3.1

Score 9.0critical

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
ubuntu-pro-client
pkg:github/ubuntu-pro-client
Affected versions
<37.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 13:02:45 UTC

Technical Analysis

The vulnerability arises from improper input validation in the ubuntu-pro-client when processing contract server responses. Specifically, the client uses Python's str.format() without escaping or filtering newline characters in fields directives.suites[] and directives.aptURL, enabling injection of arbitrary APT source lines. Additionally, the unvalidated additionalPackages[] field is passed directly into a root-executed apt-get install command. An attacker capable of spoofing or manipulating the contract response (e.g., via compromised infrastructure or intercepted trusted connections) can cause the client to fetch and install malicious packages, resulting in arbitrary code execution with root privileges. This affects ubuntu-pro-client versions prior to 37.3.

Potential Impact

Successful exploitation allows an attacker who can spoof or manipulate the contract server response to inject malicious APT source lines and force installation of attacker-controlled packages with root privileges. This leads to arbitrary code execution as root on affected systems. The vulnerability affects systems with ubuntu-pro-client preinstalled and auto-attached, including supported Ubuntu Server releases and cloud provider Ubuntu Pro images. The CVSS v3.1 score is 9.0 (Critical), reflecting high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the contract server response channel to trusted sources only and monitor for suspicious network activity related to contract responses. Avoid using affected versions of ubuntu-pro-client in untrusted environments. Follow official Canonical advisories for updates and apply patches promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-06-05T15:11:57.169Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a58d31c68715ace430a6504

Added to database: 07/16/2026, 12:48:28 UTC

Last enriched: 07/16/2026, 13:02:45 UTC

Last updated: 07/16/2026, 22:47:19 UTC

Views: 32

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses