CVE-2026-131959

HIGH Status: Received

CVSS Scores

CVSS v3.x Base Score
7.8
HIGH

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.)

Published
November 18, 2026 8:17 AM
Last Modified
November 18, 2026 8:17 AM
Source
[email protected]

Weaknesses (CWE)

CWE-829

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry