THREATOPS
THREAT OPS › Threat News › Emacs .dir-locals.el arbitrary code execution

Emacs .dir-locals.el arbitrary code execution

medoss_secPublished 2026-11-11

<p>Posted by Sean Whitton on Nov 11</p>X3r0Day discovered that Emacs 31.1 did not adequately validate the<br /> contents of .dir-locals.el before executing code there.<br /> <br /> Emacs 30.2 is unaffected.<br /> <br /> A patch from Stefan Monnier is attached and will be included in our<br /> upcoming 31.2 release.<br /> <br /> For full details on the vulnerability please see<br /> &lt;<a href="ht

Indicators of compromise

Original source: https://seclists.org/oss-sec/2026/q4/656