CVE-2026-86692
published medium CVSS 4.0 · 5.7apport: Arbitrary file creation or overwrite via path traversal in base64-encoded problem report keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | apport2.16.0 to < 2.37.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | apport | 2.16.0 to < 2.37.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2canonical · cna
apport: Arbitrary file creation or overwrite via path traversal in base64-encoded problem report keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44146ec1cd40ed5067172f64f79ef852347d2c8908742d90b4f17984d5d5802b
- Ingested
- 12 Nov 2026, 16:57:23 UTC
- Source record
- Official CVE record