Skip to content
OpenAdvisories
Medium · 5.7 CVE-2026-86692 EUVD-2026-120401GHSA-php2-xh4g-g5mj

apport: Arbitrary file creation or overwrite via path traversal in base64-encoded problem report keys

Published Nov 9, 2026 · Updated Nov 12, 2026 · Assigned by canonical

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.

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.

Affected products

VendorProductAffectedFixed
Canonical apport 2.16.0 – < 2.37.0 2.37.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 apport No fix yet —
Ubuntu 26.04 LTS apport No fix yet —
Ubuntu 24.04 LTS apport No fix yet —
Ubuntu 22.04 LTS apport No fix yet —
Ubuntu 20.04 LTS apport No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS apport No fix yet —
Ubuntu Pro 16.04 LTS apport No fix yet —
Ubuntu Pro 14.04 LTS apport No fix yet —

References