Description
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.
Published: 2026-07-16
Score: 5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An insecure symlink following vulnerability in Canonical's ubuntu-pro-client utility allows a non-privileged local user to create a symbolic link at a predictable temporary or log directory location that points to any root-readable file. When a system administrator subsequently runs the pro collect-logs command, the tool follows the user-controlled symlink, reads the target file, and packages the contents into a diagnostic archive. Because that archive remains readable by the attacker, the vulnerable user can retrieve sensitive root-owned files, resulting in a full information disclosure of system secrets. The weakness is a typical path-traversal/unsanitized symlink issue (CWE‑59).

Affected Systems

The vulnerability affects Canonical Ubuntu releases from 16.04 LTS through 26.04 LTS as well as the ubuntu-pro-client (formerly ubuntu-advantage-tools) package. Any installed instance that uses the pro collect-logs command is susceptible. No specific version ranges are identified beyond the affected Ubuntu series and the ubuntu-pro-client package.

Risk and Exploitability

The reported CVSS score of 5 indicates a medium severity. The EPSS score of < 1% indicates a very low but non‑zero exploitation probability, and the vulnerability is not listed in CISA KEV. Exploitation is limited to the local environment and requires that a root administrator later runs the collect‑logs command while a symlink has been placed in a writable location by an unprivileged user. Thus the risk is moderate; if an administrator runs the command without checking the contents of the log directories, the attacker can exfiltrate root files. The attack vector is local, and the attacker must remain on the host.

Generated by OpenCVE AI on July 31, 2026 at 02:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ubuntu-pro-client to the latest released version where the symlink validation has been corrected.
  • Restrict write permissions on the temporary file paths and log directories used by pro collect-logs to prevent unprivileged users from creating symbolic links.
  • Configure the system to require explicit authorization before allowing the pro collect-logs command to be executed, such as by disabling the command for non‑admin users or enforcing sudo policies.

Generated by OpenCVE AI on July 31, 2026 at 02:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8555-1 Ubuntu Advantage Tools (pro client) vulnerabilities
References
History

Thu, 23 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Canonical ubuntu-pro-client
Vendors & Products Canonical
Canonical ubuntu
Canonical ubuntu-pro-client

Thu, 16 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 13:00:00 +0000

Type Values Removed Values Added
Description 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.
Title ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitrary File Read in collect-logs
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N'}


Subscriptions

Canonical Ubuntu Ubuntu-pro-client
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-07-16T13:28:19.156Z

Reserved: 2026-06-16T12:15:12.153Z

Link: CVE-2026-12391

cve-icon Vulnrichment

Updated: 2026-07-16T13:27:50.388Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:15:06Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')