
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-62848 is an unsafe deserialization vulnerability in Metalama's Windows Visual Studio integration that allows a same-user local process with write access to a predictable named pipe to execute arbitrary code within the affected Visual Studio process. It affects Metalama.Framework NuGet versions from 2023.0.101-rc through 2026.1.18 (with specific ranges: < 2025.1.18, 2025.2.0-preview through 2025.2.5-rc, < 2026.0.25, and < 2026.1.19), as well as the PostSharpTechnologies.PostSharp Visual Studio extension from versions 2024.1 through 2026.1.4. The vulnerability was disclosed on October 30, 2026, with the GitHub Security Advisory (GHSA-h26j-4vp7-x9w2) published on November 3, 2026. It carries a CVSS v3.1 base score of 7.3 (High), though the practical severity is assessed as Medium due to the same-user access constraint (GitHub Advisory).
The vulnerability is classified as CWE-502 (Deserialization of Untrusted Data) and CWE-913 (Improper Control of Dynamically-Managed Code Resources). Two successive serialization mechanisms are affected: the JSON era (Metalama 2023.0 through 2026.0.x) used Newtonsoft.Json with TypeNameHandling.All, where the accompanying SerializationBinder only remapped assembly names but resolved arbitrary wire-supplied types via assembly.GetType(typeName) without an allow-list; the MessagePack era (Metalama 2026.1.0 through 2026.1.18) used typeless MessagePack with TypelessObjectResolver, which likewise embeds CLR type names on the wire and instantiates arbitrary types on receipt. The named pipe connecting devenv, the out-of-process Roslyn code-analysis process, and the CodeLens process has a predictable name (Metalama_{role}_{processId}_{hash(PackageVersion)}), derived from the public package version and a locally-enumerable process ID, and was created with no explicit PipeSecurity. Both mechanisms are analogous to BinaryFormatter and are susceptible to known gadget-chain attacks (e.g., ysoserial.net for the JSON era) (GitHub Advisory, Fix PR #1651).
Successful exploitation results in arbitrary code execution inside the targeted Visual Studio process (the UI process, the Roslyn code-analysis process, or the CodeLens process), with full loss of confidentiality, integrity, and availability within that process. Because the Windows named pipe default ACL restricts writers to the same logged-in user, exploitation does not cross a security boundary or escalate privileges — the attacker gains no more access than they already possess. The practical risk is code execution within the developer's Visual Studio session, enabling persistence or lateral movement within an already same-user-compromised context; command-line and MSBuild-only builds are not affected as they do not use the named pipe channel (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (GitHub Advisory). The EPSS score is approximately 0.00186 (low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The NVD SSVC assessment marks it as non-automatable with no known exploitation. However, the JSON-era variant is theoretically exploitable using publicly available gadget chains (e.g., ysoserial.net) against the Newtonsoft.Json TypeNameHandling.All configuration, making weaponization feasible for a motivated same-user attacker (GitHub Advisory).
Metalama_{role}_{processId}_{hash(PackageVersion)}. The package version is public, and the target process ID can be enumerated locally (e.g., via Get-Process devenv in PowerShell).NamedPipeClientStream with PipeDirection.InOut). Default Windows ACLs permit same-user write access.TypeNameHandling.All with a known gadget chain (e.g., from ysoserial.net) that embeds a malicious $type field referencing a dangerous CLR type (e.g., from System.Private.CoreLib).TypelessObjectResolver format that embeds an arbitrary CLR type name in the wire format.devenv.exe, the Roslyn code-analysis process, or the CodeLens process (e.g., cmd.exe, powershell.exe, curl.exe) that are not typical for normal IDE operation.devenv.exe or associated Metalama processes to unknown external IP addresses.devenv.exe or Roslyn analyzer processes as the parent; application crash logs or unhandled exception traces referencing InvalidOperationException with messages containing #1651 or RPC type allow-list (post-patch detection of exploitation attempts).devenv.exe or Roslyn processes; new scheduled tasks or startup entries created under the current user account.Metalama_* as observed via tools like Sysinternals Process Monitor or PipeList (GitHub Advisory).Upgrade to the following patched versions of Metalama.Framework (NuGet): 2025.1.18 or later (for the 2025.1.x line), 2026.0.25 or later (for the 2026.0.x line), or 2026.1.19 or later (for the 2026.1.x line). For the Visual Studio extension, update PostSharpTechnologies.PostSharp to version 2026.1.5 or later, which bundles Metalama 2026.1.19. The retired PostSharpTechnologies.Metalama and PostSharpTechnologies.caravela extensions will not receive fixes and should be uninstalled and migrated to PostSharpTechnologies.PostSharp >= 2026.1.5. The fix enforces a closed [RpcContract] type allow-list on the deserialization path (both JSON and MessagePack eras) and restricts pipe access to the current user on Windows. As a workaround where patching is not immediately possible, avoid using Visual Studio in shared or multi-user environments where untrusted same-user processes may be present (GitHub Advisory, Release 2025.1.18).
The vulnerability was reported and fixed by the Metalama maintainer Gaël Fraiteur (gfraiteur), who authored the GitHub Security Advisory and coordinated the fix via PR #1651. The advisory explicitly notes that the practical severity is Medium despite the CVSS High score, because exploitation requires same-user access and does not cross a security boundary. No significant broader media coverage or notable external researcher commentary has been identified for this vulnerability (GitHub Advisory, Fix PR #1651).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."