Skip to content
RedCVE

CVE-2026-97209Elixir Lang Elixir vulnerability

elixir-langPublished:

CVSS score

5.4

Medium

CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Exploit probability (EPSS)

0.21%

0.21% chance of exploitation in the next 30 days, higher than 11.5% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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 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.

Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

How to fix it, step by step

  1. Check whether you're affected

    Find every system running elixir-lang Elixir and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Elixir to 1.20.5 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
elixir-lang Elixir≥ 1.20.0-rc.4, < 1.20.5 · 7f3d95b60c28ae3026a5c1bf943166391245bfd1

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-97209 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-97209?

CVE-2026-97209 has a CVSS 4.0 base score of 5.4 (medium).

Which versions are affected?

Elixir Lang Elixir (≥ 1.20.0-rc.4, < 1.20.5; 7f3d95b60c28ae3026a5c1bf943166391245bfd1)

Is there a patch for CVE-2026-97209?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.