Skip to main content
VulnerabilityPublished

CVE-2026-131959: GNU Emacs · Untrusted Functionality Inclusion

Affects GNU EmacsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.8 High.

Data as of 18 Nov 2026, 07:50 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.17.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GNUEmacsAffected
  • =31.1
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.

References

Community reviews

Loading reviews…