CVE-2026-79992 Emacs: emacs: command injection via crafted filenames in tramp
A local attacker can execute arbitrary code in Emacs by tricking a user into processing maliciously crafted filenames via TRAMP.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-79992?
CVE-2026-79992 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 25 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-79992?
Linux distribution packages (1)
emacs openSUSE:Tumbleweed | All versions | 31.1-1.1 |
How do I fix CVE-2026-79992?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-79992 being exploited?
There is no known exploitation of CVE-2026-79992 in the wild and no public exploit code.
Sources
Also known as AZL-98195, CLSA-2026-1792623317, DEBIAN-CVE-2026-79992, GHSA-42vv-cfp2-9qc8, UBUNTU-CVE-2026-79992, openSUSE-SU-2026:11637-1.