CVE-2026-86692
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…
Impact
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. The 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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data or systems being changed.
Affected products · Canonical
| Product | Affected versions |
|---|---|
| Apport | from 2.16.0 before 2.37.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/canonical/apport/pull/650
- https://github.com/canonical/apport/commit/ca041037929ea3ebd3e0997dcedcf908ca3599a6
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2167360
- https://github.com/advisories/GHSA-php2-xh4g-g5mj
- https://nvd.nist.gov/vuln/detail/CVE-2026-86692