Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Metalama.Tool
  4. ›
  5. CVE-2026-62847

CVE-2026-62847: Metalama allows local code execution through DLL planting in shared temporary directories

October 14, 2026

Metalama loaded and executed compile-time assemblies, auxiliary executable tools, and embedded helper assemblies from predictable temporary directories. On Linux and macOS the default cache location was the world-writable system temporary directory (Path.GetTempPath(), i.e. /tmp), and previously-generated artifacts were trusted based on the presence of a sentinel/.completed marker file rather than on any integrity verification.

A local, unprivileged user on a shared machine or CI/build agent can pre-create the deterministic cache directory structure and plant a malicious DLL together with the matching sentinel file. When a higher-privileged user (or build/service account) subsequently runs a build, Metalama finds the sentinel, skips regeneration, and loads and executes the attacker-supplied assembly inside the compiler / IDE / MSBuild process.

Affected load-and-execute paths:

  • the cache of compile-time assemblies that Metalama generates from your aspects;
  • auxiliary executable tools that Metalama extracts to a local directory and then launches;
  • embedded .NET helper assemblies that Metalama extracts to a local directory and loads into the build / IDE process.

References

  • github.com/advisories/GHSA-m6wq-39m7-9xpp
  • github.com/metalama/Metalama/commit/09911349a916e82194b1cfaa6d0a38acad928fc9
  • github.com/metalama/Metalama/commit/92c4feecfce86d18fcb007ab6d3a1b4383326a2e
  • github.com/metalama/Metalama/commit/ab9407263203c66d7c5680a34c28dba31f9951c9
  • github.com/metalama/Metalama/pull/1719
  • github.com/metalama/Metalama/security/advisories/GHSA-m6wq-39m7-9xpp
  • nvd.nist.gov/vuln/detail/CVE-2026-62847

Code Behaviors & Features

Detect and mitigate CVE-2026-62847 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2025.1.18, all versions starting from 2026.0.0-preview before 2026.0.25, all versions starting from 2026.1.0-preview before 2026.1.19

Fixed versions

  • 2025.1.18
  • 2026.0.25
  • 2026.1.19

Solution

Upgrade to versions 2025.1.18, 2026.0.25, 2026.1.19 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-377: Insecure Temporary File
  • CWE-427: Uncontrolled Search Path Element

Source file

nuget/Metalama.Tool/CVE-2026-62847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Nov 2026 00:17:26 +0000.