Home / elixir-lang / elixir / CVE-2026-97209
CVE-2026-97209: is it exploited, and which versions of elixir-lang elixir are affected and fixed?
CVE-2026-97209 is a creation of Temporary File in Directory with Insecure Permissions vulnerability in elixir-lang elixir. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: elixir from 1.20.0-rc.4 before 1.20.5 (CVE record by EEF). Fixed in 1.20.5 (CVE record by EEF). Severity: Medium (5.4, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 08:08 UTC and NVD November 19, 2026, 09:04 UTC.
What is CVE-2026-97209?
Insecure temporary file in mix deps.partition lets a local user execute code in another user's dependency build
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. Mix.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. This issue affects mix: from 1.20.0-rc.4 before 1.20.5.
From the CVE record by EEF, last updated November 19, 2026, 08:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-lang | elixir mix | from 1.20.0-rc.4 before 1.20.5 | 1.20.5 |
| elixir-lang | elixir elixir-lang/elixir | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-97209?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-97209 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 30, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
Is there a workaround? (from the CVE record)
On a multi-user host, set TMPDIR to a private per-user directory with mode 0700 before running Mix, so that System.tmp_dir/0 resolves to a location other users cannot pre-create or read. Alternatively, keep partitioned compilation disabled by leaving MIX_OS_DEPS_COMPILE_PARTITION_COUNT unset or at 1, which keeps the configuration inside the parent process.
Where are the vendor advisories and references?
- Insecure temporary file in mix deps.partition lets a local user execute code in another user's dependency build vendor-advisory, related
- EEF CNA record for CVE-2026-97209 related
- OSV record EEF-CVE-2026-97209 related
- Introducing commit 7f3d95b in elixir-lang/elixir related
- Fix commit 55eb912 in elixir-lang/elixir patch
- Fix commit 9adbe95 in elixir-lang/elixir patch
Who found and reported it?
- Quinn Wilton (finder)
- Quinn Wilton (reporter)
- Jonatan Männchen / EEF (coordinator)
- José Valim (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 14, 2026
- Published
- October 30, 2026, 08:59 UTC
- CVE record updated
- November 19, 2026, 08:00 UTC by EEF
- NVD
- Deferred, last modified November 19, 2026, 08:17 UTC
- Last checked
- CVE list November 19, 2026, 08:08 UTC; NVD November 19, 2026, 09:04 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect elixir?
- Oct 30, 2026CVE-2026-115274 elixir-lang elixir: quantity not validated
- Oct 30, 2026CVE-2026-109821 elixir-lang elixir: quantity not validated
- Aug 28, 2026CVE-2026-75758 elixir-lang elixir: uncontrolled recursion
- Jun 9, 2026CVE-2026-49762 elixir-lang elixir: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-97209
Is CVE-2026-97209 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of elixir-lang elixir are affected by CVE-2026-97209?
elixir from 1.20.0-rc.4 before 1.20.5, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-97209?
1.20.5, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-97209?
Medium (5.4, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-97209?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.