UBUNTU-CVE-2026-12391

Source
https://ubuntu.com/security/CVE-2026-12391
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12391.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-12391
Upstream
  • CVE-2026-12391
Downstream
Related
Published
2026-07-17T14:00:00Z
Modified
2026-07-16T16:00:16.203055719Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu~22.04.1

Affected versions

27.*
27.2.2~21.10.1
27.3~21.10.1
27.4~22.04.1
27.4.1~22.04.1
27.4.2~22.04.1
27.5~22.04.1
27.6~22.04.1
27.7~22.04.1
27.8~22.04.1
27.9~22.04.1
27.10.1~22.04.1
27.11.2~22.04.1
27.11.3~22.04.1
27.12~22.04.1
27.13.1~22.04.1
27.13.2~22.04.1
27.13.3~22.04.1
27.13.5~22.04.1
27.13.6~22.04.1
27.14.4~22.04
28.*
28.1~22.04
29.*
29.4~22.04
30~22.*
30~22.04
31.*
31.2~22.04
31.2.2~22.04
31.2.3~22.04
32.*
32.3~22.04
32.3.1~22.04
33.*
33.2~22.04
34~22.*
34~22.04
35.*
35.1ubuntu0~22.04
36ubuntu0~22.*
36ubuntu0~22.04
37.*
37.1ubuntu0~22.04
37.2ubuntu~22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~22.04.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12391.json"

Ubuntu:24.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu~24.04.1

Affected versions

29.*
29.4
Other
30
30.*
30.1
31.*
31.1
31.2.2
31.2.2build1
31.2.3
32.*
32.3~24.04
32.3.1~24.04
33.*
33.2~24.04.1
34~24.*
34~24.04
35.*
35.1ubuntu0~24.04
36ubuntu0~24.*
36ubuntu0~24.04
37.*
37.1ubuntu0~24.04
37.2ubuntu~24.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~24.04.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12391.json"

Ubuntu:25.10 / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
35
36ubuntu0
37ubuntu0
35.*
35.1ubuntu0
37.*
37.1ubuntu0~25.10
37.2ubuntu~25.10

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu~25.10",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12391.json"

Ubuntu:26.04:LTS / ubuntu-advantage-tools

Package

Name
ubuntu-advantage-tools
Purl
pkg:deb/ubuntu/ubuntu-advantage-tools?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
37.2ubuntu0.1

Affected versions

Other
37ubuntu0
37.*
37.1ubuntu0
37.2ubuntu

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-advantage-pro"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-advantage-tools"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-auto-attach"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-client"
        },
        {
            "binary_version": "37.2ubuntu0.1",
            "binary_name": "ubuntu-pro-client-l10n"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12391.json"