CVE-2026-79992
Emacs: emacs: command injection via crafted filenames in tramp
Monitor this CVE ↗Full CVE monitoring on Pro and Business
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| emacsRed Hat | unaffected: 1:29.4-14.el10_2.3 to < * | See vendor advisory |
| emacsRed Hat | unaffected: 1:26.1-15.el8_10.2 to < * | See vendor advisory |
| emacsRed Hat | unaffected: 1:26.1-15.el8_10.2 to < * | See vendor advisory |
| emacsRed Hat | unaffected: 1:27.2-18.el9_8.2 to < * | See vendor advisory |
| emacsRed Hat | Default status: affected | See vendor advisory |
| emacsRed Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-79992
- https://access.redhat.com/errata/RHSA-2026:80506
- https://access.redhat.com/errata/RHSA-2026:80507
- https://access.redhat.com/errata/RHSA-2026:84591
- https://access.redhat.com/security/cve/CVE-2026-79992
- https://bugzilla.redhat.com/show_bug.cgi?id=2523665
- http://www.openwall.com/lists/oss-security/2026/08/26/15
- http://www.openwall.com/lists/oss-security/2026/10/11/1
- http://www.openwall.com/lists/oss-security/2026/10/14/4