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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local low-privilege shell access
  2. Delivery
    Identify predictable staging path used by pro collect-logs
  3. Exploit
    Pre-place symlink at that path targeting /etc/shadow
  4. Install
    Await privileged operator to run pro collect-logs
  5. C2
    Tool follows symlink and reads root-owned file
  6. Execute
    Sensitive file contents bundled into user-readable archive
  7. Impact
    Attacker extracts and reads system secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires a local account with at least low privileges on the affected Ubuntu host and write access to the predictable path consumed by pro collect-logs - specifically the temporary directory or log staging location the tool uses before archiving. The attacker must create the symlink before a privileged operator executes the diagnostic command. The principal limiting factor - encoded as UI:R in the CVSS vector - is that an administrator must manually and explicitly run pro collect-logs; this is not a scheduled, daemon-triggered, or default cron operation under standard Ubuntu configurations. Exploitation is bounded to confidentiality only: the vulnerability exposes root-readable files to the local attacker but provides no write primitive and no availability impact (I:N, A:N). Scope is unchanged (S:U), meaning the flaw cannot be chained for container escape or lateral movement on its own. The attack does not require any non-default configuration - the pro collect-logs command is part of the standard ubuntu-pro-client package present on all supported Ubuntu LTS releases.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N encodes a local attack of low complexity requiring low privileges, with the critical limiting factor being UI:R - an administrator must actively invoke pro collect-logs, which is not a routine or automated Ubuntu operation. The high confidentiality impact (C:H) is well-founded: targets like /etc/shadow yield password hashes for offline cracking. No EPSS probability data was provided in the input, so statistical exploitation likelihood cannot be quantified. KEV status is absent, indicating no confirmed mass exploitation. The attack surface is further bounded by scope-unchanged (S:U): this is a local information disclosure path, not a pivot or container-escape primitive. Real-world priority is moderate - the attack is mechanically trivial once local access exists and the operator runs the diagnostic, but the UI:R gate means it cannot be automated against unsuspecting admins and is not self-triggering. Organizations running pro collect-logs in shared or multi-tenant environments (cloud instances, developer workstations, support workflows) face meaningfully higher exposure than those on single-user systems.

Exploit ScenarioDerived

A low-privileged user on a multi-user Ubuntu system identifies the predictable temporary or log directory path consumed by pro collect-logs and creates a symbolic link at that path pointing to /etc/shadow. When a system administrator later runs pro collect-logs to generate a support bundle - for example, before opening a Canonical support ticket - the tool follows the attacker-controlled symlink, reads the shadow password file as root, and bundles its contents into the archive. The attacker then reads the archive to extract the hashed credentials and proceeds with offline password cracking.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

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.

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.

Affected VersionsENISA

Ubuntu 26.04 LTS patch: 37.2ubuntu0.1
Ubuntu 24.04 LTS patch: 37.2ubuntu~24.04.1
Ubuntu 16.04 LTS patch: 37.1ubuntu0~16.04.1
ubuntu-pro-client (ubuntu-advantage-tools) 0 <37.3
Ubuntu 20.04 LTS patch: 37.1ubuntu0~20.04.1
Ubuntu 22.04 LTS patch: 37.2ubuntu~22.04.1
Ubuntu 18.04 LTS patch: 37.1ubuntu0~18.04.1

Affected Packages

euvd ubuntu_pro_client_ubuntu_advantage_tools fix: 37.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Ubuntu 20 04 Lts gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
default package on all supported Ubuntu LTS releases
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

25
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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