High7.8Red Hat Linux Updated
CVE-2026-131959: Red Hat .dir-locals.el auto-mode-alist bypass gives code execution on file open
This Red Hat advisory covers CVE-2026-131959.
- CVE-2026-131959
Key facts
- Vendor rating
- High, CVSS 7.8
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H· base score 7.8, scored by mitreAttack vector: local. Attack complexity: low. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
- EPSS
- 0.14% chance of exploitation in the next 30 days (3rd percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
Red Hat LinuxUnclassified
Description
.dir-locals.el auto-mode-alist bypass gives code execution on file open. Red Hat rates this important (CVSS 7.8).
Weakness: CWE-829.
Text from the source record.
How to fix CVE-2026-131959
Vendor guidance
- To mitigate this flaw, disable directory-local variable processing in Emacs configuration: Add the following configuration setting to the user initialization file (`~/.emacs`, `~/.emacs.el`, or `~/.emacs.d/init.el`), or globally across the system in the site initialization file (such as `/etc/emacs/site-start.el`): ```elisp (setq enable-dir-local-variables nil) ``` Running Emacs instances must be restarted for the configuration change to take effect. Caveats: Disabling this setting prevents Emacs from automatically loading project-specific and directory-level customization files.
More Red Hat Linux advisories
CVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserializationCVE-2026-119977Oct 31, 2026Arbitrary code execution via predictable upgrade staging paths
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.