Advisory

UBUNTU-CVE-2026-12391

Also known as: CVE-2026-12391

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Dates

Published
2026-07-17 14:00 UTC
Modified
2026-07-16 16:00 UTC

Affected packages and fixes

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 37.2ubuntu~22.04.1 (ecosystem)

Fixed versions

37.2ubuntu~22.04.1

Fix

  • Fixed version 37.2ubuntu~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 37.2ubuntu~24.04.1 (ecosystem)

Fixed versions

37.2ubuntu~24.04.1

Fix

  • Fixed version 37.2ubuntu~24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

ubuntu-advantage-tools

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 37.2ubuntu0.1 (ecosystem)

Fixed versions

37.2ubuntu0.1

Fix

  • Fixed version 37.2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences