CVE-2026-79992

Emacs: emacs: command injection via crafted filenames in tramp

State
Published
Severity
7.8 High
Published
Aug 25, 2026
Updated
Oct 19, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 1:29.4-14.el10_2.3 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 1:26.1-15.el8_10.2 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 1:26.1-15.el8_10.2 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 1:27.2-18.el9_8.2 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.