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…

UBUNTU-CVE-2026-11386

0
Critical
Published: 07/17/2026 (07/17/2026, 14:00:00 UTC)
Source: GCVE Database
Product: 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-<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.

CVSS v3.1

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

Ubuntu:22.04:LTSmore threats →ghsa
ubuntu-advantage-tools
pkg:deb/ubuntu/[email protected]~22.04.1?arch=source&distro=jammy
Affected versions
<37.2ubuntu~22.04.1=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.1~22.04=29.4~22.04=30~22.04=31.2~22.04=31.2.2~22.04=31.2.3~22.04=32.3~22.04=32.3.1~22.04=33.2~22.04=34~22.04=35.1ubuntu0~22.04=36ubuntu0~22.04=37.1ubuntu0~22.04=37.2ubuntu~22.04
Ubuntu:24.04:LTSmore threats →ghsa
ubuntu-advantage-tools
pkg:deb/ubuntu/[email protected]~24.04.1?arch=source&distro=noble
Affected versions
<37.2ubuntu~24.04.1=29.4=30=30.1=31.1=31.2.2=31.2.2build1=31.2.3=32.3~24.04=32.3.1~24.04=33.2~24.04.1=34~24.04=35.1ubuntu0~24.04=36ubuntu0~24.04=37.1ubuntu0~24.04=37.2ubuntu~24.04
Ubuntu:25.10more threats →ghsa
ubuntu-advantage-tools
pkg:deb/ubuntu/[email protected]~25.10?arch=source&distro=questing
Affected versions
=35=35.1ubuntu0=36ubuntu0=37ubuntu0=37.1ubuntu0~25.10=37.2ubuntu~25.10
Ubuntu:26.04:LTSmore threats →ghsa
ubuntu-advantage-tools
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<37.2ubuntu0.1=37ubuntu0=37.1ubuntu0=37.2ubuntu

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, 16:47:48 UTC

Technical Analysis

The ubuntu-advantage-tools client constructs APT source files using data from the contract server response without proper escaping or validation. Specifically, the directives.suites[] and directives.aptURL fields are formatted into APT source files using Python's str.format(), allowing embedded newline characters to inject arbitrary deb configuration lines. Additionally, the unvalidated additionalPackages[] field is passed directly into a root-executed apt-get install command. An attacker who can spoof or manipulate the contract response can cause the client to fetch and install malicious packages, resulting in arbitrary code execution with root privileges. This vulnerability affects multiple exact versions of ubuntu-advantage-tools and is present in default Ubuntu Pro cloud images and supported Ubuntu Server releases.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary code with root privileges on the affected system by injecting malicious APT source lines and forcing installation of attacker-controlled packages. This compromises system integrity and confidentiality. The vulnerability requires the attacker to control or manipulate the contract server response, which may be possible through compromised internal infrastructure, intercepted connections with trusted CAs, or local logical bugs.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the contract server response data and monitor for any suspicious manipulation of contract responses. Avoid using affected versions of ubuntu-advantage-tools in untrusted environments where contract response manipulation is possible.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-11386
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a5909cd68715ace4359d306

Added to database: 07/16/2026, 16:41:49 UTC

Last enriched: 07/16/2026, 16:47:48 UTC

Last updated: 07/17/2026, 03:04:55 UTC

Views: 52

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