CVE-2026-62848: Metalama: Unsafe deserialization over Metalama's Visual Studio inter-process named pipe enables local code execution
Published 2026-11-03 · Updated 2026-11-03 · Also known as GHSA-h26j-4vp7-x9w2
Summary
Metalama versions prior to 2026.1.19 contain an unsafe deserialization vulnerability in their Visual Studio inter-process communication pipe that allows arbitrary code execution. Developers using Metalama within Visual Studio should update their NuGet packages and extensions to the specified fixed versions immediately.
Who is affected
The vulnerability affects all versions of Metalama.Framework from 2023.0 through 2026.1.18, as well as specific versions of associated Visual Studio extensions. Exploitation occurs via crafted messages sent to a predictable named pipe, requiring the attacker to already be executing code under the same user context as the targeted Visual Studio process. Because the pipe lacks restrictive access control, it allows local code execution within the developer's session.
Exploitability
With a CVSS 3.1 base score of 7.3, the flaw is classified as High, though the practical risk is mitigated by the requirement for same-user access. The EPSS score is 0.002, indicating a low current probability of exploitation, and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade NuGet Metalama.Framework to version 2026.1.19 or later.
- Update the 'Metalama + PostSharp' Visual Studio extension to version 2026.1.5.
- Uninstall retired 'PostSharpTechnologies.Metalama' and 'PostSharpTechnologies.caravela' extensions as they will not receive security updates.
How to check your project
- Inspect the project's NuGet package references or 'packages.config' file for versions of Metalama.Framework earlier than 2026.1.19.
- Check the version of installed Visual Studio extensions under the 'Manage Extensions' dialog to identify deprecated versions of PostSharp/Metalama tools.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| NuGet | Metalama.Framework |
>= 2026.1.0-preview, < 2026.1.19 | 2026.1.19 | dotnet add package Metalama.Framework --version 2026.1.19 |
| NuGet | Metalama.Framework |
>= 0, < 2025.1.18 | 2025.1.18 | dotnet add package Metalama.Framework --version 2025.1.18 |
| NuGet | Metalama.Framework |
>= 2026.0.1-preview, < 2026.0.25 | 2026.0.25 | dotnet add package Metalama.Framework --version 2026.0.25 |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
Is this a remote code execution vulnerability?
No, it is a local code execution vulnerability. The attacker must already be running code under the same user account as the Visual Studio process.
Are command-line or MSBuild builds affected?
No, the vulnerable named-pipe mechanism is exclusively used by the Visual Studio integration.
Why is the practical severity considered lower than the CVSS score?
While the CVSS score of 7.3 reflects the potential for full compromise of the Visual Studio process, the requirement for same-user access means the attacker gains no new privileges, limiting the scenario to lateral movement within an already compromised user account.
Original advisory description
References
- WEB https://github.com/metalama/Metalama/security/advisories/GHSA-h26j-4vp7-x9w2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-62848
- WEB https://github.com/metalama/Metalama/pull/1651
- WEB https://github.com/metalama/Metalama/commit/5b4ced29f2b25631cc2e44d05b0fd5fe838b6cbe
- WEB https://github.com/metalama/Metalama/commit/d97f52e1b53ffe4176b2b05c56ffdf1ccd2f53a9
- PACKAGE https://github.com/metalama/Metalama
- WEB https://github.com/metalama/Metalama/releases/tag/release/2025.1.18
- WEB https://github.com/metalama/Metalama/releases/tag/release/2026.0.25
- WEB https://github.com/metalama/Metalama/releases/tag/release/2026.1.19
Source records: GHSA-h26j-4vp7-x9w2 (OSV.dev) · EPSS by FIRST, 2026-11-26.