{"schema":"vulnpedia.research/1","cve":"CVE-2026-131959","references":[{"url":"https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=205ae0b0583dbfe09e258164adbc49e130645221","source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","url":"https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=205ae0b0583dbfe09e258164adbc49e130645221"},{"source":"nvd","sourceId":"CVE-2026-131959","modified":"2026-11-18T16:18:15.343","url":"https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=205ae0b0583dbfe09e258164adbc49e130645221"}],"tags":[]},{"url":"https://debbugs.gnu.org/82213","source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","url":"https://debbugs.gnu.org/82213"},{"source":"nvd","sourceId":"CVE-2026-131959","modified":"2026-11-18T16:18:15.343","url":"https://debbugs.gnu.org/82213"}],"tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2026/11/11/7","source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","url":"https://www.openwall.com/lists/oss-security/2026/11/11/7"},{"source":"nvd","sourceId":"CVE-2026-131959","modified":"2026-11-18T16:18:15.343","url":"https://www.openwall.com/lists/oss-security/2026/11/11/7"}],"tags":[]},{"url":"https://x3r0day.github.io/","tags":["third-party-advisory"],"source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-18T07:34:30.502Z","tags":["third-party-advisory"],"url":"https://x3r0day.github.io/"},{"source":"nvd","sourceId":"CVE-2026-131959","modified":"2026-11-18T16:18:15.343","url":"https://x3r0day.github.io/"}]}],"packages":[],"pocCandidates":[],"cataloguedPoc":[],"vendorStatements":[],"sourceTimes":{"primary":"2026-11-18T15:38:33.980Z","cisa-kev":"2026-11-18T17:15:04.971Z","exploitdb":"2026-11-18T17:15:04.971Z","metasploit":"2026-11-18T17:15:04.971Z","zdi":"2026-11-18T17:15:04.971Z","oss-security":"2026-11-18T17:15:04.971Z","full-disclosure":"2026-11-18T17:15:04.971Z","cert-cc":"2026-11-18T17:15:04.971Z","watchtowr":"2026-11-18T17:15:04.971Z","lexfo":"2026-11-18T17:15:04.971Z","google-security-research":"2026-11-18T17:15:04.971Z","vulncheck-initial-access":"2026-11-18T17:15:04.971Z","vulncheck-kev":"2026-11-18T17:42:52.063Z","ghsa":"2026-11-18T17:43:14.166Z","pysec":"2026-11-18T17:43:14.166Z","go":"2026-11-18T17:43:14.166Z","rustsec":"2026-11-18T17:43:14.166Z","nvd":"2026-11-18T16:18:15.343"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"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":"2026-11-18","cwe":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"labels":{"vendors":["GNU"],"products":["Emacs"]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"}},"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.)","published":"2026-11-18","cwe":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"labels":{"vendors":[],"products":[]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"}}},"freshness":{"checkedAt":"2026-11-18T17:52:08.921Z","changedAt":"2026-11-18T17:52:08.921Z","pocChangedAt":null,"addedPoCs":[],"removedPoCs":[],"changedPoCs":[]},"labels":{"vendors":["GNU"],"products":["Emacs"]},"evidence":{"version":"2026-11-18T17:52:08.921Z#31b5a14fef38a5ae46db56289829171d9a951946f20507c8284c1fd8c13dc2b5","checkedAt":"2026-11-18T17:52:08.921Z","changedAt":"2026-11-18T17:52:08.921Z","pocChangedAt":null}}