{"affected":[{"defaultStatus":"unaffected","packageName":"apport","platforms":["Linux"],"product":"apport","source":"CNA: canonical","vendor":"Canonical","versions":[{"lessThan":"2.37.0","status":"affected","version":"2.16.0","versionType":"semver"}]}],"cveId":"CVE-2026-86692","cwes":["CWE-22"],"description":"In apport before 2.37.0, a path traversal vulnerability allows an attacker who can supply a crafted crash report to cause unintended file creation or overwrite outside the intended extraction directory when the report is processed with apport-unpack.\n\nThe key-name validation added for CVE-2026-77113 does not cover base64-encoded keys skipped by ProblemReport.load(binary=False), and ProblemReport.extract_keys() writes them to a file path built from the key without validation. This allows an attacker to create or overwrite arbitrary files writable by the invoking user, such as .bashrc or .profile, gaining persistence or code execution in that user's context.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.7,"severity":"medium","source":"CNA: canonical","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"}],"modifiedAt":1794255253349,"publishedAt":1794255253349,"references":[{"source":"CNA: canonical","tags":["patch"],"url":"https://github.com/canonical/apport/pull/650"},{"source":"CNA: canonical","tags":["patch"],"url":"https://github.com/canonical/apport/commit/ca041037929ea3ebd3e0997dcedcf908ca3599a6"},{"source":"CNA: canonical","tags":["issue-tracking"],"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2167360"}],"remediation":[{"kind":"fix","source":"CNA: canonical","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/canonical/apport/pull/650"},{"kind":"fix","source":"CNA: canonical","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/canonical/apport/commit/ca041037929ea3ebd3e0997dcedcf908ca3599a6"}],"revision":"85d03764cef07094b2c697fe1f51a677ee58027a6471b3fca2866c48751ed38f","sources":[{"modifiedAt":1794255253349,"name":"CNA: canonical","retrievedAt":1794258617463,"url":"https://www.cve.org/CVERecord?id=CVE-2026-86692"}],"ssvc":null,"status":"published","title":"apport: Arbitrary file creation or overwrite via path traversal in base64-encoded problem report keys","updatedAt":1794258617463}