Skip to main content

ubuntu-pro-client CVE-2026-12391

| EUVDEUVD-2026-44912 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-07-16 canonical GHSA-whf7-7mxf-ww93
5.0
CVSS 3.1 · Vendor: canonical
Share

Severity by source

Vendor (canonical) PRIMARY
5.0 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
vuln.today AI
5.0 MEDIUM

Local vector and PR:L because symlink pre-placement requires a local account; UI:R because a privileged admin must manually invoke the diagnostic command; C:H for potential /etc/shadow disclosure; no integrity or availability impact applies.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 16, 2026 - 13:25 vuln.today
CVE Published
Jul 16, 2026 - 12:17 cve.org
MEDIUM 5.0

DescriptionCVE.org

An insecure symlink following vulnerability exists in Canonical ubuntu-pro-client (formerly ubuntu-advantage-tools) within the pro collect-logs command framework. The utility creates or utilizes predictable temporary file paths or user-accessible log directories when gathering diagnostic information without verifying the file type or ownership. An unprivileged local attacker can exploit this behavior by creating a symbolic link (symlink) at a predictable destination path pointing to an arbitrary, root-readable file (such as /etc/shadow or private files within /root). When a root administrator or operator subsequently executes the pro collect-logs command, the tool follows the user-controlled symlink, reads the target file, and compresses its contents into the resulting diagnostic support archive. Because the output archive remains readable by the unprivileged user, the attacker can extract and read the sensitive root-owned files, leading to a complete information disclosure of system secrets.

AnalysisAI

Insecure symlink following in Canonical's ubuntu-pro-client pro collect-logs command allows a low-privileged local attacker to cause a root-executing diagnostic tool to read arbitrary root-owned files - including /etc/shadow - and bundle their contents into a support archive accessible to the attacker. All supported Ubuntu LTS releases from 16.04 through 26.04 are affected, as confirmed by Canonical's own advisory and CPE data spanning the full product history. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, but the attack primitive is trivially simple - standard Unix symlink creation - making exploitation straightforward once local access is obtained.

Technical ContextAI

CWE-59 (Improper Link Resolution Before File Access, 'Link Following') describes the root cause: the pro collect-logs subcommand within ubuntu-pro-client (formerly ubuntu-advantage-tools) aggregates diagnostic data using predictable temporary file paths or log directory locations without performing file-type or ownership checks before reading. This classic symlink-following pattern does not require a race condition - the attacker pre-positions the symlink before the privileged command executes, removing any timing dependency. The affected package is identified by CPE cpe:2.3:a:canonical:ubuntu-pro-client_(ubuntu-advantage-tools):*:*:*:*:*:*:*:*, with separate CPE entries confirming exposure across Ubuntu 16.04, 18.04, 20.04, 22.04, 24.04, and 26.04 LTS. The tool runs as root (required to collect system-wide diagnostics), and the resulting archive is returned to - and readable by - the invoking or requesting user, closing the exfiltration loop.

RemediationAI

The primary fix is to upgrade ubuntu-pro-client to the patched version published by Canonical; consult the vendor advisory at https://ubuntu.com/security/CVE-2026-12391 for exact fixed package versions, as no specific patched release was confirmed in the available input data - patch availability is stated as available per vendor advisory but the version cannot be independently confirmed from the provided references. As a compensating control, restrict local shell access on systems where pro collect-logs is routinely used, minimizing the attacker's ability to pre-position symlinks. When collecting diagnostic logs from production systems with untrusted local users, consider running pro collect-logs on an isolated snapshot or container rather than directly on the affected host, since this eliminates the shared filesystem required for symlink pre-placement. Operators should also inspect the resulting log archive before distributing it to ensure no unexpected root-owned files were inadvertently included.

Share

CVE-2026-12391 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy