← Back to search

CVE-2026-108976

7.8 HIGH

Published 2026-10-11 · Updated 2026-10-16

AI risk analysis

Summary
GNU Emacs versions before 31.2 and TRAMP versions through 2.8.2 contain an OS command injection vulnerability (CWE-184) in filename handling due to an incomplete list of disallowed characters in tramp-user-regexp, allowing attackers with local access and low privileges to execute arbitrary OS commands via specially crafted filenames.
Exploitability
Exploitation requires local access with low privileges (PR:L) and no user interaction (UI:N), making it feasible for compromised local accounts or insider threats.
Blast radius
Successful exploitation grants full confidentiality, integrity, and availability impact on the affected system, potentially enabling full system compromise, data exfiltration, or persistence.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade GNU Emacs to version 31.2 or later, or upgrade TRAMP to version 2.8.3 or later.
rcecommand-injectionlocaltrampemacs

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

GNU Emacs before 31.2 (and TRAMP through 2.8.2) allows OS command injection via a filename because tramp-user-regexp has an incomplete list of disallowed inputs. NOTE: this issue exists because of an incomplete fix for CVE-2026-79992.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-184

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.