Skip to content
Fencer Vulns
high 7.8

CVE-2026-79992 json

Emacs: emacs: command injection via crafted filenames in tramp

published 2026-08-25 2 mo ago modified 2026-11-05 4 d ago also EUVD-2026-65616

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 12%
public exploits
0
none known

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 a local shell. Successful exploitation could lead to arbitrary code execution.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 10 1:29.4-14.el10_2.3
  • Red Hat Red Hat Enterprise Linux 8 1:26.1-15.el8_10.2
  • Red Hat Red Hat Enterprise Linux 9 1:27.2-18.el9_8.2
  • emacs RHEL 10.2 1:29.4-14.el10_2.3
  • emacs-nw RHEL 10.2 1:29.4-14.el10_2.3
  • emacs-lucid RHEL 10.2 1:29.4-14.el10_2.3
  • emacs-common RHEL 10.2 1:29.4-14.el10_2.3
  • emacs-filesystem RHEL 10.2 1:29.4-14.el10_2.3
  • emacs RHEL 9 1:27.2-18.el9_8.2
  • emacs-nox RHEL 9 1:27.2-18.el9_8.2
  • emacs-lucid RHEL 9 1:27.2-18.el9_8.2

red hat advisories RHSA-2026:84591RHSA-2026:80507RHSA-2026:80506

  • emacs SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +9 more 27.2-150400.3.37.1
  • emacs SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +9 more 27.2-150400.3.31.2
  • emacs SLES for SAP applications 16.0, SLES 16.0 30.2-160000.3.1
  • emacs SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 24.3-25.26.1

suse advisories SUSE-SU-2026:4893-1SUSE-SU-2026:4083-1SUSE-SU-2026:3993-1SUSE-SU-2026:23589-1

  • emacs openSUSE Leap 16.0 30.2-160000.3.1
  • emacs openSUSE Tumbleweed 31.1-1.1

opensuse advisories openSUSE-SU-2026:21711-1openSUSE-SU-2026:11637-1

  • emacs AlmaLinux 10 1:29.4-14.el10_2.3
  • emacs-nw AlmaLinux 10 1:29.4-14.el10_2.3
  • emacs-lucid AlmaLinux 10 1:29.4-14.el10_2.3
  • emacs-common AlmaLinux 10 1:29.4-14.el10_2.3
  • emacs-filesystem AlmaLinux 10 1:29.4-14.el10_2.3
  • emacs AlmaLinux 8 1:26.1-15.el8_10.2
  • emacs-nox AlmaLinux 8 1:26.1-15.el8_10.2
  • emacs-lucid AlmaLinux 8 1:26.1-15.el8_10.2

almalinux advisories ALSA-2026:84591ALSA-2026:80506ALSA-2026:80507

  • emacs Rocky Linux 10 1:29.4-14.el10_2.3
  • emacs Rocky Linux 9 1:27.2-18.el9_8.2
  • emacs Rocky Linux 8 1:26.1-15.el8_10.2

rocky linux advisories RLSA-2026:84591RLSA-2026:80507RLSA-2026:80506

  • emacs Azure Linux 3.0 29.4-6

azure linux advisories AZL-98195

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-79992 updated cvss 7.8

emacs: emacs: Command injection via crafted filenames in TRAMP

  • Red Hat Enterprise Linux 6 emacs, emacs-el, emacs-nox, emacs-common
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 7 emacs, emacs-el, emacs-nox, emacs-common, emacs-terminal, emacs-filesystem
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AppStream (v. 8) emacs 26.1-15.el8_10.2, emacs-nox 26.1-15.el8_10.2, emacs-lucid 26.1-15.el8_10.2, emacs-common 26.1-15.el8_10.2, emacs-terminal 26.1-15.el8_10.2
    fixed: vendor fix RHSA-2026:80506
  • Red Hat Enterprise Linux AppStream (v. 9) emacs 27.2-18.el9_8.2, emacs-nox 27.2-18.el9_8.2, emacs-lucid 27.2-18.el9_8.2, emacs-common 27.2-18.el9_8.2, emacs-filesystem 27.2-18.el9_8.2
    fixed: vendor fix RHSA-2026:80507
  • Red Hat Enterprise Linux AppStream (v. 10) emacs 29.4-14.el10_2.3, emacs-nw 29.4-14.el10_2.3, emacs-lucid 29.4-14.el10_2.3, emacs-common 29.4-14.el10_2.3
    fixed: vendor fix RHSA-2026:84591
  • Red Hat Enterprise Linux BaseOS (v. 8) emacs 26.1-15.el8_10.2, emacs-filesystem 26.1-15.el8_10.2
    fixed: vendor fix RHSA-2026:80506
  • Red Hat Enterprise Linux BaseOS (v. 10) emacs 29.4-14.el10_2.3, emacs-filesystem 29.4-14.el10_2.3
    fixed: vendor fix RHSA-2026:84591

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 mo ago

Exploit prediction

0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.