{"api_version":"1","generated_at":"2026-07-23T14:58:24+00:00","cve":"CVE-2026-12391","urls":{"html":"https://cve.report/CVE-2026-12391","api":"https://cve.report/api/cve/CVE-2026-12391.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12391","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12391"},"summary":{"title":"ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitrary File Read in collect-logs","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.","state":"PUBLISHED","assigner":"canonical","published_at":"2026-07-16 13:16:24","updated_at":"2026-07-16 14:16:48"},"problem_types":["CWE-59","CWE-59 CWE-59 Improper link resolution before file access ('link following')"],"metrics":[{"version":"3.1","source":"security@ubuntu.com","type":"Secondary","score":"5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","baseScore":5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://ubuntu.com/security/CVE-2026-12391","name":"https://ubuntu.com/security/CVE-2026-12391","refsource":"security@ubuntu.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12391","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12391","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Canonical","product":"ubuntu-pro-client (ubuntu-advantage-tools)","version":"affected 37.3 python","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 26.04 LTS","version":"unaffected 37.2ubuntu0.1 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 24.04 LTS","version":"unaffected 37.2ubuntu~24.04.1 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 22.04 LTS","version":"unaffected 37.2ubuntu~22.04.1 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 20.04 LTS","version":"unaffected 37.1ubuntu0~20.04.1 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 18.04 LTS","version":"unaffected 37.1ubuntu0~18.04.1 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"Ubuntu 16.04 LTS","version":"unaffected 37.1ubuntu0~16.04.1 dpkg","platforms":["Linux"]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Mateusz Gierblinski","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"12391","cve":"CVE-2026-12391","epss":"0.001550000","percentile":"0.050810000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:15"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-12391","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-07-16T13:20:30.714803Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-16T13:28:19.156Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://github.com/canonical/","defaultStatus":"unaffected","packageName":"ubuntu-pro-client","platforms":["Linux"],"product":"ubuntu-pro-client (ubuntu-advantage-tools)","repo":"https://github.com/canonical/ubuntu-pro-client","vendor":"Canonical","versions":[{"lessThan":"37.3","status":"affected","version":"0","versionType":"python"}]},{"collectionURL":"https://launchpad.net/ubuntu/resolute","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 26.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.2ubuntu0.1","versionType":"dpkg"}]},{"collectionURL":"https://launchpad.net/ubuntu/noble","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 24.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.2ubuntu~24.04.1","versionType":"dpkg"}]},{"collectionURL":"https://launchpad.net/ubuntu/jammy","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 22.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.2ubuntu~22.04.1","versionType":"dpkg"}]},{"collectionURL":"https://launchpad.net/ubuntu/focal","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 20.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.1ubuntu0~20.04.1","versionType":"dpkg"}]},{"collectionURL":"https://launchpad.net/ubuntu/bionic","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 18.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.1ubuntu0~18.04.1","versionType":"dpkg"}]},{"collectionURL":"https://launchpad.net/ubuntu/xenial","defaultStatus":"affected","packageName":"ubuntu-advantage-tools","platforms":["Linux"],"product":"Ubuntu 16.04 LTS","repo":"https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools","vendor":"Canonical","versions":[{"status":"unaffected","version":"37.1ubuntu0~16.04.1","versionType":"dpkg"}]}],"credits":[{"lang":"en","type":"finder","value":"Mateusz Gierblinski"}],"datePublic":"2026-07-16T12:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"An insecure symlink following vulnerability exists in Canonical<br>ubuntu-pro-client (formerly ubuntu-advantage-tools) within the<br>pro collect-logs command framework. The utility creates or utilizes<br>predictable temporary file paths or user-accessible log directories when<br>gathering diagnostic information without verifying the file type or ownership.<br>An unprivileged local attacker can exploit this behavior by creating a<br>symbolic link (symlink) at a predictable destination path pointing to an<br>arbitrary, root-readable file (such as /etc/shadow or private files within<br>/root).<br>When a root administrator or operator subsequently executes the<br>pro collect-logs command, the tool follows the user-controlled symlink, reads<br>the target file, and compresses its contents into the resulting diagnostic<br>support archive. Because the output archive remains readable by the<br>unprivileged user, the attacker can extract and read the sensitive root-owned<br>files, leading to a complete information disclosure of system secrets.<br>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-132","descriptions":[{"lang":"en","value":"CAPEC-132 Symlink Attack"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper link resolution before file access ('link following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-16T12:17:01.094Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical"},"references":[{"tags":["vdb-entry"],"url":"https://ubuntu.com/security/CVE-2026-12391"}],"source":{"discovery":"EXTERNAL"},"title":"ubuntu-pro-client Local Privilege Escalation and Information Disclosure via Symlink Arbitrary File Read in collect-logs"}},"cveMetadata":{"assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","assignerShortName":"canonical","cveId":"CVE-2026-12391","datePublished":"2026-07-16T12:17:01.094Z","dateReserved":"2026-06-16T12:15:12.153Z","dateUpdated":"2026-07-16T13:28:19.156Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-16 13:16:24","lastModifiedDate":"2026-07-16 14:16:48","problem_types":["CWE-59","CWE-59 CWE-59 Improper link resolution before file access ('link following')"],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","baseScore":5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.3,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-16T13:20:30.714803Z","id":"CVE-2026-12391","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"12391","Ordinal":"1","Title":"ubuntu-pro-client Local Privilege Escalation and Information Dis","CVE":"CVE-2026-12391","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"12391","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ubuntu-pro-client Local Privilege Escalation and Information Dis"}]}}}