Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-62847

HIGH 8.2EPSS 4%

Metalama: Local code execution via DLL planting in world-writable temporary directories (Linux/macOS)

Also known as GHSA-m6wq-39m7-9xpp

Mitigation

  • Upgrade Metalama.Framework to one of 2026.1.19, 2025.1.18, 2026.0.25 (or later in the same release line).
  • Upgrade Metalama.Tool to one of 2026.1.19, 2025.1.18, 2026.0.25 (or later in the same release line).

Who should check

  • Projects that depend on NuGet package Metalama.Framework (>= 2026.1.0-preview, < 2026.1.19)
  • Projects that depend on NuGet package Metalama.Tool (>= 2026.1.0-preview, < 2026.1.19)
  • Anyone running 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

Vulnerability facts

Affected
Metalama.Framework >= 2026.1.0-preview, < 2026.1.19; Metalama.Tool >= 2026.1.0-preview, < 2026.1.19
Fixed in
2026.1.19, 2025.1.18, 2026.0.25
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-377, CWE-427
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
NuGet Metalama.Framework>= 2026.1.0-preview, < 2026.1.192026.1.19, 2025.1.18, 2026.0.25osv
NuGet Metalama.Tool>= 2026.1.0-preview, < 2026.1.192026.1.19, 2025.1.18, 2026.0.25osv
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—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-62847. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62847.md
Affected: Metalama.Framework >= 2026.1.0-preview, < 2026.1.19; Metalama.Tool >= 2026.1.0-preview, < 2026.1.19
Fixed in: 2026.1.19, 2025.1.18, 2026.0.25

Steps:
1. Search this machine and project for Metalama.Framework (NuGet), Metalama.Tool (NuGet), Metalama: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-62847 being exploited?

There is no confirmed exploitation: CVE-2026-62847 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-62847?

High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-62847?

Metalama.Framework >= 2026.1.0-preview, < 2026.1.19; Metalama.Tool >= 2026.1.0-preview, < 2026.1.19.

Is there a fix for CVE-2026-62847?

Yes. Fixed in 2026.1.19, 2025.1.18, 2026.0.25. Upgrade Metalama.Framework to one of 2026.1.19, 2025.1.18, 2026.0.25 (or later in the same release line). Upgrade Metalama.Tool to one of 2026.1.19, 2025.1.18, 2026.0.25 (or later in the same release line).

How do I check if I'm affected by CVE-2026-62847?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors