UBUNTU-CVE-2026-12391
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.
AI Analysis
Technical Summary
The vulnerability in ubuntu-advantage-tools (formerly ubuntu-pro-client) arises from the pro collect-logs command creating or using predictable temporary file paths or user-accessible log directories without verifying file type or ownership. An unprivileged local attacker can exploit this by placing a symlink at the predictable location pointing to arbitrary root-readable files such as /etc/shadow. When a root user runs the pro collect-logs command, it follows the symlink and compresses the contents of the targeted file into the diagnostic archive, which remains readable by the attacker. This leads to unauthorized disclosure of sensitive root-owned files.
Potential Impact
An unprivileged local attacker can gain read access to sensitive root-owned files by exploiting the symlink vulnerability, resulting in complete information disclosure of system secrets. There is no impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the pro collect-logs command in environments where unprivileged users have access to the system, or ensure that temporary file paths and log directories are secured against symlink attacks.
UBUNTU-CVE-2026-12391
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.
CVSS v3.1
Affected software
pkg:deb/ubuntu/[email protected]~22.04.1?arch=source&distro=jammypkg:deb/ubuntu/[email protected]~24.04.1?arch=source&distro=noblepkg:deb/ubuntu/[email protected]~25.10?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ubuntu-advantage-tools (formerly ubuntu-pro-client) arises from the pro collect-logs command creating or using predictable temporary file paths or user-accessible log directories without verifying file type or ownership. An unprivileged local attacker can exploit this by placing a symlink at the predictable location pointing to arbitrary root-readable files such as /etc/shadow. When a root user runs the pro collect-logs command, it follows the symlink and compresses the contents of the targeted file into the diagnostic archive, which remains readable by the attacker. This leads to unauthorized disclosure of sensitive root-owned files.
Potential Impact
An unprivileged local attacker can gain read access to sensitive root-owned files by exploiting the symlink vulnerability, resulting in complete information disclosure of system secrets. There is no impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the pro collect-logs command in environments where unprivileged users have access to the system, or ensure that temporary file paths and log directories are secured against symlink attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-12391
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5909cd68715ace4359d301
Added to database: 07/16/2026, 16:41:49 UTC
Last enriched: 07/16/2026, 16:47:57 UTC
Last updated: 07/17/2026, 03:04:55 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.