CVE-2026-12391

ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitrary File Read in collect-logs

Published Jul 16, 2026 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Canonical ubuntu-pro-client
Vendors & Products Canonical
Canonical ubuntu
Canonical ubuntu-pro-client
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-59

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

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Jul 16, 2026, 1:28 PM
Reserved
Jun 16, 2026, 12:15 PM
Status
Awaiting Analysis
Published
Jul 16, 2026, 1:16 PM
Modified
Jul 16, 2026, 2:16 PM