---
id: CVE-2026-79992
title: A flaw was found in Emacs TRAMP
summary: >-
  A flaw was found in Emacs TRAMP. A local attacker could exploit this
  vulnerability by processing maliciously crafted filenames. This occurs because
  TRAMP concatenates login arguments without proper sanitization, which are then
  passed to …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: Red Hat
product: emacs
affected:
  - emacs (all versions)
  - emacs (all versions)
  - emacs (all versions)
  - emacs (all versions)
  - emacs (all versions)
published: '2026-08-25'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:19:12.030'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-79992'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:80506'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:80507'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-79992'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2523665'
    label: secalert@redhat.com
  - url: 'http://www.openwall.com/lists/oss-security/2026/08/26/15'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2026/10/11/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2026/10/14/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2026:84591'
    label: 'RHSA-2026:84591'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-79992.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-79992'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-79992'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00219
epssPercentile: 0.12363
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-25T17:32:22.093371Z'
ingestedAt: '2026-09-24T20:51:40.352Z'
patched:
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_10
  - enterprise_linux_baseos_v_8
---

## Overview

A flaw was found in Emacs TRAMP. A local attacker could exploit this vulnerability by processing maliciously crafted filenames. This occurs because TRAMP concatenates login arguments without proper sanitization, which are then passed to a local shell. Successful exploitation could lead to arbitrary code execution.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:84591** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:84591)
- **RHSA-2026:80506** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux BaseOS (v. 8) · released 2026-10-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:80506)
- **RHSA-2026:80507** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-10-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:80507)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-79992.json)
