
hiroakit@hiroakit
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. https://nvd.nist.gov/vuln/detail/cve-2026-131959
1011042
304 followersView on X
Signal is active with 1 mentions in latest observed window
Recommended action window: Monitor and triage in normal cycle
NVD description
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. A crafted .dir-locals.el can supply a (REGEXP FUNCTION t) entry in auto-mode-alist; when a matching file is opened, Emacs calls FUNCTION before set-auto-mode--dir-local-valid-p validates it, executing arbitrary Emacs Lisp with the privileges of the Emacs process. (Emacs 30.2 is unaffected.)
Priority
LOW
Exploitation
NONE
PoC
NONE
Patch
NONE
Momentum
NONE

GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. https://nvd.nist.gov/vuln/detail/cve-2026-131959