Read the docs

Path traversal in Canonical apport lets attackers overwrite user files

Priority LOW 25CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Apport before 2.37.0 contains a path traversal flaw (CWE-22) in ProblemReport.extract_keys(), which writes base64-encoded report keys to file paths built without validation. An attacker who can supply a crafted crash report can create or overwrite files outside the extraction directory when apport-unpack processes it. An attacker who gets a user to run apport-unpack on such a report can overwrite files writable by that user, such as .bashrc or .profile, to gain persistence or code execution in that user's context.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00163 5th percentileScored 2026-11-16
Fix Fixed apport (Canonical): 2.37.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Canonicalapport2.16.0 to before 2.37.02.37.0Patch availableCNA
  • apport VendorCanonical Affected 2.16.0 to before 2.37.0 Fixed in 2.37.0 Patch available CNA

Remediation

Canonical apport users should upgrade to version 2.37.0 or later, which fixes the flaw. The sources list no vendor advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

  • Fix · CNA apport (Canonical) Fixed in 2.37.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Canonical apport 2.37.0

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-87346 Local root privilege escalation in Canonical apport crash reportsPriority LOW 33

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-86692
  2. 2026-11-10 Alias added: GHSA-php2-xh4g-g5mj
  3. 2026-11-11 Priority changed: MEDIUM → LOW
  4. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2020-09349 SaltStack Salt salt-master ClearFuncs allows unauthenticated method calls KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05854 Command injection in OpenSMTPD lets remote users run commands as root KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-01431 Netlogon elevation of privilege in Microsoft Windows Server KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-12627 Heap-based buffer overflow in Exim allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-07471 Improper recipient validation in Exim allows remote command execution KEVCVSS 3.1CRITICAL 9.8
See all 4303 →

Sources