Skip to content
RedCVE

CVE-2026-62847Metalama uncontrolled search path element

metalamaPublished:

CVSS score

8.2

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.15%

0.15% chance of exploitation in the next 30 days, higher than 4.24% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Metalama and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Metalama to 2025.1.18, 2026.0.25, 2026.1.19 or later, on the branch you run.
  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
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected products

Affected productsVersions
metalama Metalama< 2025.1.18 · >= 2025.2.0-preview, <= 2025.2.5-rc · >= 2026.0.0-preview, < 2026.0.25 · >= 2026.1.0-preview, < 2026.1.19

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-62847 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-62847?

CVE-2026-62847 has a CVSS 3.1 base score of 8.2 (high).

Which versions are affected?

Metalama Metalama (< 2025.1.18; >= 2025.2.0-preview, <= 2025.2.5-rc; >= 2026.0.0-preview, < 2026.0.25; >= 2026.1.0-preview, < 2026.1.19)

Is there a patch for CVE-2026-62847?

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.