Skip to main content

Canonical Apport EUVDEUVD-2026-120401

| CVE-2026-86692 MEDIUM
Path Traversal (CWE-22)
2026-11-09 canonical GHSA-php2-xh4g-g5mj
5.7
CVSS 4.0 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted crash report to victim
  2. Delivery
    Victim runs apport-unpack on report
  3. Exploit
    base64 key bypasses key-name validation
  4. Execution
    extract_keys writes to traversed path
  5. Persist
    Overwrite user-writable file (.bashrc/.profile)
  6. Impact
    Code execution in user's context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions. First, the attacker must get a victim to process an attacker-supplied apport crash report using apport-unpack (passive user interaction, UI:P) - this is not remote or automatic. Second, the malicious report must carry a base64-encoded key (the type skipped by ProblemReport.load(binary=False)), because the key-name validation added for CVE-2026-77113 only covered non-binary keys; base64 keys reach ProblemReport.extract_keys() unvalidated. Third, the traversed target path must be writable by the user invoking apport-unpack, since the write occurs with that user's privileges (the stated examples are .bashrc and .profile in the user's home directory). Limiting factors: the vector is local (AV:L) with no network reachability, it depends on the victim choosing to unpack an untrusted report, it only affects apport before 2.37.0, and the impact is bounded to files the invoking user can already write.

Impact

This is a moderate-severity, locally-triggered arbitrary file write (CWE-22) rather than a remotely-exploitable emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N) scores 5.7 and is internally consistent with the description: the attack is local (the victim must process an attacker-supplied crash report), requires no attacker privileges (PR:N - the attacker only crafts the report file), but depends on passive user interaction (UI:P - someone must run apport-unpack on the malicious report) and carries an attack requirement (AT:P). Impact is integrity-only (VI:H) because the primitive is file creation/overwrite of files writable by the invoking user; the description's claim of 'code execution or persistence' is a downstream consequence of overwriting files like .bashrc/.profile, not a direct memory-corruption RCE. Signal cross-reference: the vuln.today Decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no EPSS score was supplied - all consistent with a real but non-urgent bug. No public exploit was identified; the only exploitation-relevant artifact is the upstream regression test that demonstrates the invalid key 'Invalid/key', which proves the flaw but is not weaponized exploit code. The 'RCE' tag overstates the mechanism: this is an arbitrary file-write that can lead to code execution only via user-controlled dotfiles under specific conditions. Notable nuance: this is a bypass of the earlier fix for CVE-2026-77113 - the prior key-name validation did not cover base64-encoded keys skipped by ProblemReport.load(binary=False), so environments that applied only the earlier patch remain exposed.

Exploit ScenarioDerived

An attacker crafts a malicious apport crash report in which a base64-encoded key embeds path-traversal sequences (e.g. a key resolving to ../../home/victim/.bashrc). The victim is socially engineered into unpacking the report with apport-unpack, and ProblemReport.extract_keys() writes the decoded payload to the traversed path, overwriting a file writable by the invoking user and yielding code execution the next time that user starts a shell. No public weaponized exploit was identified, though the upstream regression test demonstrates the invalid-key condition.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Path traversal in Canonical Apport before 2.37.0 lets an attacker who supplies a crafted crash report cause file creation or overwrite outside the intended extraction directory when the report is processed with apport-unpack. Because key-name validation added for CVE-2026-77113 only covered non-binary keys, base64-encoded keys pass through ProblemReport.load(binary=False) unvalidated and are then written by ProblemReport.extract_keys() to a path built directly from the attacker-controlled key, allowing persistence or code execution in the invoking user's context (for example via .bashrc or .profile). The issue is local (AV:L) with no privileges required (PR:N) but requires the victim to process an untrusted report (UI:P); no public exploit code has been identified at time of analysis, and the impact is bounded to files that user can already write.

RemediationAI

Vendor-released patch: apport 2.37.0. Upgrade the apport package to 2.37.0 or later, which moves the key allow-list into _check_problem_report_key() and enforces it in ProblemReport.extract_keys() before any output path is built (upstream PR https://github.com/canonical/apport/pull/650, commit https://github.com/canonical/apport/commit/ca041037929ea3ebd3e0997dcedcf908ca3599a6, Launchpad bug https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2167360). Where upgrading is not immediately possible, the practical compensating control is procedural: do not run apport-unpack against crash reports from untrusted or unverified sources, since the flaw only triggers when a crafted report is processed; run any unavoidable unpacking as a dedicated low-privilege account in a throwaway container or directory that does not contain the user's shell startup files such as .bashrc or .profile, which limits the write to a disposable path but does not remove the traversal itself. Because the write occurs with the invoking user's privileges, running apport-unpack as a less-privileged user reduces blast radius, though files writable by that account remain exposed.

Affected VersionsENISA

Apport 2.16.0 <2.37.0

Affected Packages

euvd apport fix: 2.37.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apport is Ubuntu's crash-reporting framework, and problem_report.py implements the report container format: a pseudo-MIME file where each key names a field and base64-encoded values are decoded on demand. ProblemReport.load(binary=False) intentionally skips binary (base64) keys, so the key sanitisation introduced to fix CVE-2026-77113 - which rejected keys containing characters other than letters, digits, '.', '_' and '-' - was only applied on the write path (write_mime) and never reached the keys consumed by extract_keys(). ProblemReport.extract_keys() then builds an output file path by joining the caller-supplied directory with each key and writes the decoded payload, so a key such as 'Invalid/key' or '../../.bashrc' escapes the intended extraction root. This is a textbook CWE-22 path traversal rooted in missing canonicalisation/allow-listing of a user-controlled file name component. The upstream fix (PR #650, commit ca041037929ea3ebd3e0997dcedcf908ca3599a6) factors the character allow-list into a shared _check_problem_report_key() helper and calls it inside extract_keys() before any path is constructed, with a regression test that loads a report containing the key 'Invalid/key' and asserts InvalidProblemReportKeyError is raised. All apport releases prior to 2.37.0 (cpe:2.3:a:canonical:apport) are affected.

Know when Apport gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 5.7 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Local because the victim must unpack an attacker-supplied report (AV:L, UI:R); attacker needs no privileges (PR:N); primitive is arbitrary file overwrite as the invoking user, so I:H and C:N/A:N.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
apport is the default crash-reporting handler on all Ubuntu installations
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Apport

View all
CVE-2015-1318 HIGH POC
7.2 Apr 17

The crash reporting feature in Apport 2.13 through 2.17.x before 2.17.1 allows local users to gain privileges via a craf

CVE-2016-9949 HIGH POC
7.8 Dec 17

An issue was discovered in Apport before 2.20.4. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2016-9951 MEDIUM POC
6.5 Dec 17

An issue was discovered in Apport before 2.20.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi

CVE-2016-9950 HIGH POC
7.8 Dec 17

An issue was discovered in Apport before 2.20.4. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2021-25684 HIGH POC
7.8 Jun 11

It was discovered that apport in data/apport did not properly open a report file to prevent hanging reads on a FIFO. Rat

CVE-2021-25683 HIGH POC
7.8 Jun 11

It was discovered that the get_starttime() function in data/apport did not properly parse the /proc/pid/stat file from t

CVE-2021-25682 HIGH POC
7.8 Jun 11

It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from

CVE-2015-1338 HIGH POC
7.2 Oct 01

kernel_crashdump in Apport before 2.19 allows local users to cause a denial of service (disk consumption) or possibly ga

CVE-2021-32557 HIGH POC
7.1 Jun 12

It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symli

CVE-2019-7307 HIGH POC
7.0 Aug 29

Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7, 2.20.10-0ubuntu27.1, 2.20.11-0ubu

CVE-2021-3710 MEDIUM POC
5.5 Oct 01

An information disclosure via path traversal was discovered in apport/hookutils.py function read_file(). Rated medium se

CVE-2021-3709 MEDIUM POC
5.5 Oct 01

Function check_attachment_for_errors() in file data/general-hooks/ubuntu.py could be tricked into exposing private data

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy