# Microsoft Security Advisory CVE-2024-38081 | .NET Elevation of Privilege Vulnerability

Advisory record · `GHSA-hq7w-xv5x-g34j`

- **Identifiers:** `GHSA-hq7w-xv5x-g34j` · `BIT-dotnet-2024-38081` · `BIT-dotnet-sdk-2024-38081` · `CVE-2024-38081`
- **State:** Confirmed
- **Severity:** CVSS 7.3 High
- **Critical:** No
- **Weakness (CWE):** [CWE-59](https://cwe.mitre.org/data/definitions/59.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 9 Jul 2024
- **Updated:** 17 Nov 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Jul 2024, 21:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `Microsoft.IO.Redist` (NuGet): affected `>=4.6.0-preview.18571.3, <6.0.1`; fixed in `6.0.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Microsoft.IO.Redist versions from 4.6.0-preview.18571.3 up to but not including 6.0.1 are affected. An unprivileged user on Windows who can manipulate a Visual Studio installation can gain elevated privileges. Upgrade Microsoft.IO.Redist to version 6.0.1.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.3 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`, from CNA (microsoft)

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 70th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 9 Jul 2024, 17:29 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/dotnet/runtime/security/advisories/GHSA-hq7w-xv5x-g34j)
- 31 Oct 2026, 15:22 UTC: First seen by agentprime
- 31 Oct 2026, 15:22 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hq7w-xv5x-g34j)

## Sources

- [GitHub Advisory Database: GHSA-hq7w-xv5x-g34j](https://github.com/advisories/GHSA-hq7w-xv5x-g34j)
- [OSV: GHSA-hq7w-xv5x-g34j](https://osv.dev/vulnerability/GHSA-hq7w-xv5x-g34j)
- <https://github.com/dotnet/runtime/security/advisories/GHSA-hq7w-xv5x-g34j>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38081>
- <https://github.com/dotnet/runtime>
- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38081>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hq7w-xv5x-g34j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hq7w-xv5x-g34j/>. Everything for agents: <https://agentprime.io/llms.txt>.
