Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Attain low-privilege local account
  2. Delivery
    Place crafted filename in shared directory
  3. Exploit
    Victim accesses directory via Emacs TRAMP
  4. Execution
    Unsanitized filename concatenated into shell argument
  5. Impact
    Injected shell commands execute as victim user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires the target system to have Emacs installed with TRAMP active (the default Emacs configuration on RHEL) and a user on the system who is running Emacs and processes files via the TRAMP subsystem. The attacker must hold a local user account (PR:L per CVSS vector) and must be able to place or influence a maliciously crafted filename in a filesystem location that the victim user accesses through TRAMP - for example, a shared directory, a world-writable path, or a location the attacker controls via symlink. No network access is required; the attack is strictly local (AV:L). No user interaction beyond the victim's normal file access behavior via TRAMP is necessary (UI:N). Limiting factors: the attacker cannot exploit this remotely; must share filesystem access with the victim; and the victim must be actively using Emacs with TRAMP enabled. Environments where Emacs is not installed or TRAMP is explicitly disabled are not affected.

Impact

The CVSS 7.8 HIGH rating with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the local, low-complexity nature of this flaw. The local attack vector (AV:L) is the primary risk-limiting factor - no network-based exploitation path exists, and an attacker must already hold a local user account on the target system. Low attack complexity and no required user interaction indicate the exploit mechanism is straightforward once access is established. No EPSS probability data is included in the available record, and there is no CISA KEV listing, so widespread active exploitation is not confirmed; these signals together suggest this is not under active mass exploitation at time of analysis. The full C:H/I:H/A:H impact triad is consistent with arbitrary code execution in the victim process context, which may include access to sensitive files, SSH keys, or credentials managed by the victim user. Priority should be elevated for multi-user RHEL servers, shared developer workstations, and CI/CD systems where multiple principals share a host and Emacs is actively used with TRAMP-enabled remote access. The absence of a confirmed patched version in available data introduces remediation uncertainty.

Exploit ScenarioDerived

A low-privileged local attacker on a shared RHEL server creates a filename containing shell metacharacters (e.g., a semicolon or backtick sequence encoding a reverse shell payload) in a directory accessible to a target user who actively uses Emacs with TRAMP. When the victim user's Emacs session processes or accesses that filename via TRAMP - for example, by navigating a directory listing - the crafted filename is concatenated unsanitized into a login argument passed to the local shell, executing the attacker's payload with the victim's privileges. No public proof-of-concept code is identified at time of analysis, though the low CVSS attack complexity rating indicates the exploitation path is not technically demanding.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Arbitrary code execution in Emacs TRAMP affects Red Hat Enterprise Linux 6 through 10 via a local command injection flaw in the TRAMP remote file access subsystem. TRAMP concatenates user-influenced login arguments - including filenames - without sanitization before passing them to a local shell, enabling a low-privileged local attacker to inject shell commands that execute with the victim process's privileges. No public exploit code or CISA KEV listing is identified at time of analysis, but the low attack complexity and no-user-interaction requirement make this a credible local privilege escalation vector on multi-user RHEL systems.

RemediationAI

No specific patched Emacs package version is confirmed in the available data; organizations must monitor the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2026-79992 and apply updates via standard RHEL package management (dnf update emacs or yum update emacs) once a fix is released. As an immediate compensating control, administrators can disable TRAMP globally by adding (setq tramp-mode nil) to the site-wide Emacs initialization file (typically /etc/emacs/site-start.d/), which eliminates the vulnerable code path at the cost of all remote file access functionality within Emacs. On multi-user systems, filesystem permissions on shared directories should be reviewed and hardened to prevent unprivileged users from placing crafted filenames in locations accessed by other users via Emacs TRAMP. Restricting Emacs execution to users who genuinely require it, via sudo policies or group-based access controls, reduces the attack surface without disabling the application entirely. Each compensating control incurs a usability trade-off and should not be treated as a permanent substitute for the vendor patch.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

TRAMP (Transparent Remote Access, Multiple Protocol) is Emacs's built-in package for accessing remote files via SSH, SCP, sudo, and similar protocols. The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), a classic OS command injection pattern in which user-controlled data - here, filenames or login arguments - is concatenated into a shell command string without proper escaping or quoting. When Emacs processes a maliciously crafted filename through TRAMP, the injected shell metacharacters are interpreted by the local shell, triggering arbitrary command execution. Affected products per CPE data span Red Hat Enterprise Linux versions 6, 7, 8, 9, and 10 (cpe:2.3:a:red_hat:red_hat_enterprise_linux_6 through cpe:2.3:a:red_hat:red_hat_enterprise_linux_10), covering the full current and legacy RHEL portfolio. TRAMP is included by default in the Emacs package on these distributions.

Know when Red Hat Enterprise Linux 10 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 (redhat) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local attack vector and low privileges required because attacker needs existing shell access and filesystem write ability; no user interaction required as TRAMP processes filenames automatically.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Emacs TRAMP remote file access on Red Hat Enterprise Linux 6 through 10 is vulnerable to local privilege escalation, where low-privileged system users can execute arbitrary commands with elevated privileges through shell command injection. Organizations operating multi-user RHEL environments where Emacs TRAMP is actively used face immediate insider threat and lateral movement risks. No vendor patch is currently available, requiring urgent interim security controls to prevent exploitation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable TRAMP module via Emacs configuration files on systems where remote file access is not required; (2) enforce strict file permissions and SELinux/AppArmor confinement policies preventing low-privileged processes from executing arbitrary shell commands; (3) disable symbolic link creation and restrict write access in TRAMP working directories; (4) implement centralized logging and real-time alerting for TRAMP-related process execution and privilege escalation attempts; (5) restrict TRAMP usage to specific authorized user accounts via application-level access controls.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
Emacs is widely deployed across RHEL enterprise environments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-107935 CRITICAL
9.3 Oct 09

Unauthenticated path traversal in gvproxy, the network forwarder shipped in the gvisor-tap-vsock package (used by Podman

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected

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