Skip to main content
← All vulnerabilities
CVE-2026-97209EUVD-2026-113759

Insecure temporary file in mix deps.partition lets a local user execute code in another user's dependency build

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Elixir's Mix build tool (its `deps.partition` task used during partitioned dependency compilation) is affected. A local user on the same machine can plant a tampered configuration file in a shared temporary directory, which can make another user's build run attacker-controlled code with that user's privileges.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • mix

    From 1.20.0-rc.4 · fixed in 1.20.5

  • elixir-lang/elixir

    Version range not reported

References 6

GitHub · elixir-lang/elixir

cna.erlef.org

osv.dev