Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted crash report to victim
-
DeliveryVictim runs apport-unpack on report
-
Exploitbase64 key bypasses key-name validation
-
Executionextract_keys writes to traversed path
-
PersistOverwrite user-writable file (.bashrc/.profile)
-
ImpactCode 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
An issue was discovered in Apport before 2.20.4. Rated high severity (CVSS 7.8), this vulnerability is no authentication
An issue was discovered in Apport before 2.20.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
An issue was discovered in Apport before 2.20.4. Rated high severity (CVSS 7.8), this vulnerability is no authentication
It was discovered that apport in data/apport did not properly open a report file to prevent hanging reads on a FIFO. Rat
It was discovered that the get_starttime() function in data/apport did not properly parse the /proc/pid/stat file from t
It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from
kernel_crashdump in Apport before 2.19 allows local users to cause a denial of service (disk consumption) or possibly ga
It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symli
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
An information disclosure via path traversal was discovered in apport/hookutils.py function read_file(). Rated medium se
Function check_attachment_for_errors() in file data/general-hooks/ubuntu.py could be tricked into exposing private data
EUVD-2026-120401
GHSA-php2-xh4g-g5mj
NVD
CVE.org
EPSS
Exploit-DB