CVE-2026-108976 Command injection in Emacs
Attackers can execute arbitrary OS commands via crafted filenames in GNU Emacs TRAMP due to incomplete input validation.
- 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-108976?
CVE-2026-108976 is a high-severity command injection vulnerability in GNU Emacs, published on 11 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-184
Which versions are affected by CVE-2026-108976?
How do I fix CVE-2026-108976?
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-108976 being exploited?
There is no known exploitation of CVE-2026-108976 in the wild and no public exploit code.
Sources
Also known as AZL-107949, GHSA-f2f9-wp9v-23mf, OESA-2026-4648, OESA-2026-4649, OESA-2026-4650, UBUNTU-CVE-2026-108976.