cve.bz

CVE-2026-62847 metalama metalama: Insecure Temporary File

8.2 highEPSS 0.2%Fix available

High (8.2) in metalama metalama. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in Metalama.Framework 2025.1.18, 2026.0.25, 2026.1.19.

On this page
Metalama is a Roslyn-based open-source patterns and architecture toolkit for C#. Prior to 2025.1.18, 2026.0.25 and 2026.1.19, Metalama.Framework and Metalama.Tool load and execute compile-time assemblies, auxiliary executable tools and embedded helper assemblies from predictable temporary directories. On `Linux` and `macOS`, the default `Path.GetTempPath()` location is world-writable, and existing artifacts are trusted based on sentinel or `.completed` marker files rather than integrity verification. A local unprivileged user on a shared machine or CI/build agent can pre-create the deterministic directory structure and plant a malicious DLL with the matching sentinel. When a higher-privileged developer or build account subsequently builds, Metalama skips regeneration and executes the planted artifact in the compiler, IDE or MSBuild process as the building user. This permits cross-user privilege escalation, reading source and secrets, supply-chain tampering with build output, or disrupting builds. Default Windows per-user temporary directories are protected by ACLs and are not affected. Deployer-selected insecure cache locations are outside the vulnerability's scope. This issue is fixed in versions 2025.1.18, 2026.0.25 and 2026.1.19.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-377 Insecure Temporary File deprecated by MITRE
CWE-427 Uncontrolled Search Path Element
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Metalama.Framework (NuGet): fixed in 2026.1.19, 2025.1.18, 2026.0.25
  • Metalama.Tool (NuGet): fixed in 2026.1.19, 2025.1.18, 2026.0.25

Ask an AI about this CVE

Show the promptExplain CVE-2026-62847 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-62847?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-62847?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-62847 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Metalama< 2025.1.18
Metalama>= 2025.2.0-preview, <= 2025.2.5-rc
Metalama>= 2026.0.0-preview, < 2026.0.25
Metalama>= 2026.1.0-preview, < 2026.1.19

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m6wq-39m7-9xppNuGetMetalama.Framework>=2026.1.0-preview <2026.1.192026.1.19
GHSA-m6wq-39m7-9xppNuGetMetalama.Tool>=2026.1.0-preview <2026.1.192026.1.19
GHSA-m6wq-39m7-9xppNuGetMetalama.Framework<2025.1.182025.1.18
GHSA-m6wq-39m7-9xppNuGetMetalama.Tool<2025.1.182025.1.18
GHSA-m6wq-39m7-9xppNuGetMetalama.Tool>=2026.0.0-preview <2026.0.252026.0.25
GHSA-m6wq-39m7-9xppNuGetMetalama.Framework>=2026.0.0-preview <2026.0.252026.0.25

Attack patterns (CAPEC)

  • CAPEC-149 Explore for Predictable Temporary File Names Severity: Medium
  • CAPEC-155 Screen Temporary Files for Sensitive Information Likelihood: Medium · Severity: Medium
  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-471 Search Order Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON