{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-12391 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-12391 is a medium-severity path traversal vulnerability in Canonical Ubuntu 16.04 LTS, published on 16 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-12391 and fix it if it is affected.\n\nWhat it is: CVE-2026-12391 is a medium-severity path traversal vulnerability in Canonical Ubuntu 16.04 LTS, published on 16 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-12391 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu 16.04 LTS. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12391/ (Markdown: https://insights.sbomify.com/CVE-2026-12391/index.md)","id":"CVE-2026-12391","markdown":"https://insights.sbomify.com/CVE-2026-12391/index.md","name":"CVE-2026-12391","record":{"aliases":["GHSA-whf7-7mxf-ww93","UBUNTU-CVE-2026-12391"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ubuntu system utility","requires_auth":"low_privilege","summary":"Local attackers can read root-owned files via symlink attacks in the pro collect-logs command, leading to information disclosure and potential privilege escalation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitrary File Read in collect-logs","id":"CVE-2026-12391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"RPC secret disclosure via vendor data endpoint in Canonical MAAS","id":"CVE-2026-12392"},"packages":[],"prev":{"headline":"Access of resource using incompatible type ('type confusion') in AzeoTech DAQFactory","id":"CVE-2026-12390"},"products":["Ubuntu 16.04 LTS","Ubuntu 18.04 LTS","Ubuntu 20.04 LTS","Ubuntu 22.04 LTS","Ubuntu 24.04 LTS","Ubuntu 26.04 LTS","ubuntu-pro-client (ubuntu-advantage-tools)"],"published":"2026-07-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-16","vendors":["Canonical"]},"summary":"Local attackers can read root-owned files via symlink attacks in the pro collect-logs command, leading to information disclosure and potential privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-12391/"}