CVEfocus › CVE database › CVE-2026-12391

CVE-2026-12391ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink…

CVSS 5.0 MediumEPSS 0.2% (higher than 6% of CVEs)Published 2026-07-16Updated 2026-07-16Assigner: canonical

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.

CWE-59

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ubuntu-advantage-toolsFixed37.2ubuntu0.1UBUNTU-CVE-2026-12391
Ubuntu 25.10ubuntu-advantage-toolsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-12391
Ubuntu 24.04ubuntu-advantage-toolsFixed37.2ubuntu~24.04.1UBUNTU-CVE-2026-12391
Ubuntu 22.04ubuntu-advantage-toolsFixed37.2ubuntu~22.04.1UBUNTU-CVE-2026-12391

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.