CVE-2026-79992
Received Received - Intake

TRAMP Remote Code Execution via Malicious Filenames

Vulnerability report for CVE-2026-79992, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: redhat-SADP

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gnu emacs_tramp *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in Emacs TRAMP, where a local attacker can exploit it by using maliciously crafted filenames. The issue happens because TRAMP combines login arguments without proper sanitization before passing them to a local shell. If exploited, it could allow the attacker to execute arbitrary code on the system.

Detection Guidance

To detect this vulnerability, check if Emacs TRAMP is installed and review any suspicious filenames or shell commands processed by TRAMP. Look for unusual activity in shell command logs or TRAMP-related processes. No specific commands are provided in the resources, but monitoring TRAMP operations and user input handling may help identify exploitation attempts.

Impact Analysis

If you use Emacs TRAMP, an attacker with local access could exploit this to run arbitrary code on your system. This could lead to unauthorized access, data theft, or further compromise of your machine.

Compliance Impact

This vulnerability could potentially affect compliance with GDPR and HIPAA by enabling arbitrary code execution through malicious filenames. GDPR requires protection of personal data integrity and confidentiality, while HIPAA mandates safeguards against unauthorized access or modification of health information. Exploitation could lead to unauthorized data access, modification, or deletion, violating these standards.

Mitigation Strategies

Update Emacs to the latest version where the TRAMP vulnerability has been patched. Avoid processing untrusted filenames in Emacs TRAMP mode until patched. Review shell command execution in TRAMP configurations to ensure proper sanitization of login arguments.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79992. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart