CVE-2026-131959: GNU Emacs · Untrusted Functionality Inclusion
Affects GNU EmacsSource CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 18 Nov 2026, 07:50 UTC
Thin evidence
One scorer or none| CNA (mitre) | CVSS 3.1 | 7.8 |
|---|
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GNUEmacs | Affected
| Fixed in– |
AI-suggested
Users should avoid opening files in directories with untrusted .dir-locals.el files to prevent exploitation. Monitor the GNU project advisories for an official fix.
Description
GNU Emacs version 31.1 has a code injection vulnerability related to its handling of directory-local variables. A maliciously crafted .dir-locals.el file can cause Emacs to execute arbitrary Emacs Lisp code with the privileges of the Emacs process when opening a matching file. This occurs because Emacs calls the specified function before validating it, potentially allowing code execution. Emacs version 30.2 is not affected by this vulnerability.