← Back to search

CVE-2026-62847

8.2 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-02

AI risk analysis

Summary
Metalama executes compile-time assemblies from world-writable temporary directories on Linux/macOS without integrity verification, allowing local unprivileged users to plant malicious DLLs that get executed with higher privileges during builds.
Exploitability
Exploitation requires pre-creating a deterministic temp directory path and planting a malicious DLL before a higher-privileged user runs a build; feasible on shared machines or CI agents where the attacker has local access.
Blast radius
A successful exploit enables privilege escalation, theft of source code and secrets, supply-chain tampering, or build disruption across users sharing the same system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Metalama versions 2025.1.18, 2026.0.25, or 2026.1.19 (or later) to receive the fix that adds integrity verification for auxiliary assemblies.
privilege-escalationsupply-chaintemp-dir-abusedll-injectionlinuxmacos

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CWE-377, CWE-427

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.