CVE-2026-131959

HighCVSS 7.8/10Last modified Nov 18, 2026

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

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
GNUEmacs31.1

References

Timeline

Published
Nov 18, 2026
Last modified
Nov 18, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-131967.3Nozomi Networks Labs identified a CWE-787: Out-of-bounds Write vulnerability in the process-image management functionality of KUNBUS piContrCVE-2026-1319659.8The ActivityPub WordPress plugin before 9.4.4 does not properly validate the remote media it caches when displaying comments, allowing unautCVE-2026-131977.3Nozomi Networks Labs identified a CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulneCVE-2026-1319715.3The Payment forms, Buy now buttons, and Invoicing System | GetPaid WordPress plugin before 2.8.63 does not check that the visitor is allowedCVE-2026-1319756.4The Shortcodes Ultimate WordPress plugin before 7.9.1 does not prevent format specifiers in a shortcode attribute from being interpreted whCVE-2026-1319766.8The Shortcodes Ultimate WordPress plugin before 7.9.1 does not prevent placeholders in a shortcode attribute from being expanded with unescCVE-2026-1319776.8The Shortcodes Ultimate WordPress plugin before 7.9.1 does not escape the error message returned when a remote feed cannot be retrieved befCVE-2026-1319786.8The Shortcodes Ultimate WordPress plugin before 7.9.1 does not restrict which PHP functions a shortcode's filter attribute can call, allowiCVE-2026-1319796.8The Shortcodes Ultimate WordPress plugin before 7.9.1 does not restrict the content type of its lightbox shortcode, allowing users with theCVE-2026-131985.9Nozomi Networks Labs identified a CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulneCVE-2026-1319835.3The FluentCommunity WordPress plugin before 2.13.0 does not apply the per-link visibility rules of space sidebar links when listing spaces CVE-2026-1319843.8The FluentCommunity WordPress plugin before 2.7.0 does not verify that the user is allowed to manage the space it actually modifies or dele
CVE-2026-131959: High severity, CVSS 7.8 | Vulnix