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.
Published: 2026-11-09
Score: 5.7 Medium
EPSS: n/a
KEV: No
Impact: Arbitrary File Creation or Overwrite
Action: Apply Patch
AI Analysis

Impact

In apport versions before 2.37.0 a path traversal flaw allows a crafted crash report to be unpacked into a location outside the intended directory. The flaw is triggered when the report contains a base64‑encoded key that is skipped by ProblemReport.load(binary=False) and subsequently written out by ProblemReport.extract_keys() without validation. An attacker who can supply such a crash report can cause creation or overwriting of any file writable by the user running apport. This capability gives the attacker persistence or the means to execute code in the victim’s account by, for example, inserting malicious commands into .bashrc or .profile.

Affected Systems

The vulnerability affects Canonical’s apport utility; all releases prior to 2.37.0 are susceptible. No additional vendor or product variants are listed.

Risk and Exploitability

The CVSS score of 5.7 indicates a medium severity consequence. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting limited or unknown real‑world exploitation. The likely attack vector requires the attacker to supply a crafted crash report to an instance of apport running under the target’s user account. The impact is confined to file creation or overwrite within the user’s writable space, but because it can modify shell startup files, it can lead to persistence or privilege‑level code execution within that user’s context.

Generated by OpenCVE AI on November 9, 2026 at 22:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade apport to version 2.37.0 or later to eliminate the path‑traversal flaw
  • If an upgrade is not immediately possible, restrict the ability to run apport or to submit crash reports to trusted administrators only
  • Configure file system permissions to prevent user‑writable system startup files such as .bashrc and .profile from being modified by unauthorized users
  • Regularly monitor critical user configuration files for unexpected modifications

Generated by OpenCVE AI on November 9, 2026 at 22:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical apport
Vendors & Products Canonical
Canonical apport

Mon, 09 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title apport: Arbitrary file creation or overwrite via path traversal in base64-encoded problem report keys
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.7, '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'}


Subscriptions

Canonical Apport
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-11-09T20:14:13.349Z

Reserved: 2026-09-23T14:22:38.025Z

Link: CVE-2026-86692

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T22:30:17Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')