{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-97209","id":"CVE-2026-97209","title":"Elixir code execution in Mix deps.partition temporary config files","description":"Insecure Temporary File vulnerability in Mix deps.partition in Elixir allows a local user to execute code as another user via a swapped partition config file. Partitioned dependency compilation passes the project configuration to each partition VM through a file in a fixed-name directory under the shared system temporary directory, and the partition trusts what it reads back. Another local user on","descriptionLong":"Insecure Temporary File vulnerability in Mix deps.partition in Elixir allows a local user to execute code as another user via a swapped partition config file. Partitioned dependency compilation passes the project configuration to each partition VM through a file in a fixed-name directory under the shared system temporary directory, and the partition trusts what it reads back. Another local user on the same host can exploit this during a mix deps.compile run that uses partitioned compilation.\n\nMix.Tasks.Deps.Partition.server/4 in lib/mix/lib/mix/tasks/deps.partition.ex creates the directory with File.mkdir_p/1, which accepts an existing directory without checking its owner, so a user who created it first can replace the file before client/0 reads it.\n\nThis issue affects mix: from 1.20.0-rc.4 before 1.20.5.","published":"2026-10-30T08:59:17.615Z","updated":"2026-11-19T10:00:35.124567283Z","reserved":"2026-10-14T21:45:01.541Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":5.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":5.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},{"version":"4.0","score":5.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"medium","products":["elixir-lang elixir"],"affectedProducts":[{"vendor":"elixir-lang","product":"elixir","defaultStatus":"unaffected","versions":[{"lessThan":"1.20.5","status":"affected","version":"1.20.0-rc.4","versionType":"semver"}],"platforms":[]},{"vendor":"elixir-lang","product":"elixir","defaultStatus":"unaffected","versions":[{"changes":[{"at":"55eb91220a1de14dc5aa27029d1f45b0f5832b2d","status":"unaffected"},{"at":"9adbe955c8664f4be77d879dd38c003dd39fa777","status":"unaffected"}],"lessThan":"*","status":"affected","version":"7f3d95b60c28ae3026a5c1bf943166391245bfd1","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-379"],"aliases":["EEF-CVE-2026-97209","GHSA-96q6-xhwp-fc8q"],"references":[{"url":"https://github.com/elixir-lang/elixir/security/advisories/GHSA-96q6-xhwp-fc8q","tags":["vendor-advisory","related","exploit","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-97209.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-97209","tags":["related","web"]},{"url":"https://github.com/elixir-lang/elixir/commit/7f3d95b60c28ae3026a5c1bf943166391245bfd1","tags":["related","fix"]},{"url":"https://github.com/elixir-lang/elixir/commit/55eb91220a1de14dc5aa27029d1f45b0f5832b2d","tags":["patch","fix"]},{"url":"https://github.com/elixir-lang/elixir/commit/9adbe955c8664f4be77d879dd38c003dd39fa777","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97209.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97209","tags":["advisory"]},{"url":"https://github.com/elixir-lang/elixir","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00115,"epssPercentile":0.01602,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97209","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97209","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-97209","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97209","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}