Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-11386— ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution

Quick assessment

Affected
Canonical ubuntu-pro-client (ubuntu-advantage-tools)
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Canonical ubuntu-advantage-tools是英国Canonical公司的一款系统管理工具套件。 Canonical ubuntu-advantage-tools存在输入验证错误漏洞,该漏洞源于输入验证和注入问题。客户端使用来自合同服务器的数据直接构建APT源文件,利用Python的str.format()写入文件时未进行转义、验证或换行字符过滤,成功注入任意deb配置行到root拥有的APT源中。结合未经验证的additionalPackages[]字段,可能导致攻击者控制合同响应,

CVSS 9.0 · Critical EPSS 0.53% · P42

Affected Version Matrix 8

VendorProduct Version RangeStatus
Canonical Ubuntu 14.04 LTS 19.7ubuntu0.1 unaffected
Canonical Ubuntu 16.04 LTS 37.1ubuntu0~16.04.1 unaffected
Canonical Ubuntu 18.04 LTS 37.1ubuntu0~18.04.1 unaffected
Canonical Ubuntu 20.04 LTS 37.1ubuntu0~20.04.1 unaffected
Canonical Ubuntu 22.04 LTS 37.2ubuntu~22.04.1 unaffected
Canonical Ubuntu 24.04 LTS 37.2ubuntu~24.04.1 unaffected
Canonical Ubuntu 26.04 LTS 37.2ubuntu0.1 unaffected
Canonical ubuntu-pro-client (ubuntu-advantage-tools) < 37.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-11386

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ubuntu-pro-client Input Validation Vulnerability Leading to Arbitrary APT Directive Injection and Remote Code Execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Canonical ubuntu-advantage-tools 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Canonical ubuntu-advantage-tools是英国Canonical公司的一款系统管理工具套件。 Canonical ubuntu-advantage-tools存在输入验证错误漏洞,该漏洞源于输入验证和注入问题。客户端使用来自合同服务器的数据直接构建APT源文件,利用Python的str.format()写入文件时未进行转义、验证或换行字符过滤,成功注入任意deb配置行到root拥有的APT源中。结合未经验证的additionalPackages[]字段,可能导致攻击者控制合同响应,
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Canonical ubuntu-pro-client (ubuntu-advantage-tools) 0 ~ 37.3 -
Canonical Ubuntu 26.04 LTS 37.2ubuntu0.1 -
Canonical Ubuntu 24.04 LTS 37.2ubuntu~24.04.1 -
Canonical Ubuntu 22.04 LTS 37.2ubuntu~22.04.1 -
Canonical Ubuntu 20.04 LTS 37.1ubuntu0~20.04.1 -
Canonical Ubuntu 18.04 LTS 37.1ubuntu0~18.04.1 -
Canonical Ubuntu 16.04 LTS 37.1ubuntu0~16.04.1 -
Canonical Ubuntu 14.04 LTS 19.7ubuntu0.1 -

II. Public POCs for CVE-2026-11386

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-11386

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-11386 (1)

Same Patch Batch · Canonical · 2026-07-16 · 3 CVEs total

CVE-2026-9494 5.5 MEDIUM ubuntu-pro-client Information Disclosure via Cleartext Bearer Token Exposure in Process Co
CVE-2026-12391 5.0 MEDIUM ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitr

IV. Related Vulnerabilities

V. Comments for CVE-2026-11386

No comments yet


Leave a comment