ubuntu-cve-2026-12391
Vulnerability from osv_ubuntu
Published
2026-07-17 14:00
Modified
2026-07-17 14:00
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "37.2ubuntu~22.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "ubuntu-advantage-tools",
        "purl": "pkg:deb/ubuntu/ubuntu-advantage-tools@37.2ubuntu~22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "37.2ubuntu~22.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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.1~22.04",
        "29.4~22.04",
        "30~22.04",
        "31.2~22.04",
        "31.2.2~22.04",
        "31.2.3~22.04",
        "32.3~22.04",
        "32.3.1~22.04",
        "33.2~22.04",
        "34~22.04",
        "35.1ubuntu0~22.04",
        "36ubuntu0~22.04",
        "37.1ubuntu0~22.04",
        "37.2ubuntu~22.04"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "37.2ubuntu~24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "ubuntu-advantage-tools",
        "purl": "pkg:deb/ubuntu/ubuntu-advantage-tools@37.2ubuntu~24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "37.2ubuntu~24.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "29.4",
        "30",
        "30.1",
        "31.1",
        "31.2.2",
        "31.2.2build1",
        "31.2.3",
        "32.3~24.04",
        "32.3.1~24.04",
        "33.2~24.04.1",
        "34~24.04",
        "35.1ubuntu0~24.04",
        "36ubuntu0~24.04",
        "37.1ubuntu0~24.04",
        "37.2ubuntu~24.04"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "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",
            "binary_version": "37.2ubuntu~25.10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "ubuntu-advantage-tools",
        "purl": "pkg:deb/ubuntu/ubuntu-advantage-tools@37.2ubuntu~25.10?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "35",
        "35.1ubuntu0",
        "36ubuntu0",
        "37ubuntu0",
        "37.1ubuntu0~25.10",
        "37.2ubuntu~25.10"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "37.2ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "ubuntu-advantage-tools",
        "purl": "pkg:deb/ubuntu/ubuntu-advantage-tools@37.2ubuntu0.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "37.2ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "37ubuntu0",
        "37.1ubuntu0",
        "37.2ubuntu"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2026-12391",
  "modified": "2026-07-17T14:00:00Z",
  "published": "2026-07-17T14:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-12391"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-12391"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8555-1"
    }
  ],
  "related": [
    "USN-8555-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-12391"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…