CVE-2026-62847

    Dashboard / Vulnerabilities / CVE-2026-62847

    CVE-2026-62847

    Published: 30 Oct 2026Last Modified: 4 Nov 2026

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

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    release/2026.0.24
    release/2026.0.23
    release/2026.0.22
    release/2026.0.21
    release/2026.0.20
    release/2026.0.19
    release/2026.0.18
    release/2026.0.17
    release/2026.0.16
    release/2026.0.15
    release/2026.0.14
    release/2026.0.13
    release/2026.0.12
    release/2026.0.11
    release/2026.0.10-rc
    release/2026.0.9-rc
    release/2026.0.8-rc
    release/2026.0.7-rc
    release/2026.0.6-rc
    release/2026.0.5-preview
    release/2026.0.4-preview
    release/2026.0.3-preview
    release/2026.0.2-preview
    release/2026.0.1-preview
    release/2026.0.0-preview

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-62847 | CVE-DB