{
  "id": "CVE-2025-30399",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-30399",
  "published_at": "2025-06-13T01:08:00.208Z",
  "title": ".NET and Visual Studio Remote Code Execution Vulnerability",
  "vendor": "Microsoft",
  "product": ".NET 8.0",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.",
  "cwe": "CWE-426",
  "cpes": [
    "cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Microsoft",
        "product": ".NET 8.0",
        "ranges": [
          "\u003e= 8.0.0, \u003c 8.0.17"
        ],
        "fixed_in": [
          "8.0.17"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": ".NET 9.0",
        "ranges": [
          "\u003e= 9.0.0, \u003c 9.0.6"
        ],
        "fixed_in": [
          "9.0.6"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Microsoft Visual Studio 2022 version 17.10",
        "ranges": [
          "\u003e= 17.10.0, \u003c 17.10.16"
        ],
        "fixed_in": [
          "17.10.16"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Microsoft Visual Studio 2022 version 17.12",
        "ranges": [
          "\u003e= 17.12.0, \u003c 17.12.9"
        ],
        "fixed_in": [
          "17.12.9"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Microsoft Visual Studio 2022 version 17.14",
        "ranges": [
          "\u003e= 17.14.0, \u003c 17.14.5"
        ],
        "fixed_in": [
          "17.14.5"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Microsoft Visual Studio 2022 version 17.8",
        "ranges": [
          "\u003e= 17.8.0, \u003c 17.8.22"
        ],
        "fixed_in": [
          "17.8.22"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "PowerShell 7.4",
        "ranges": [
          "\u003e= 7.4.0, \u003c 7.4.11"
        ],
        "fixed_in": [
          "7.4.11"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "PowerShell 7.5",
        "ranges": [
          "\u003e= 7.5.0, \u003c 7.5.2"
        ],
        "fixed_in": [
          "7.5.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade .NET 8.0 to 8.0.17 or later.",
      "Upgrade .NET 9.0 to 9.0.6 or later.",
      "Upgrade Microsoft Visual Studio 2022 version 17.10 to 17.10.16 or later.",
      "Upgrade Microsoft Visual Studio 2022 version 17.12 to 17.12.9 or later.",
      "Upgrade Microsoft Visual Studio 2022 version 17.14 to 17.14.5 or later.",
      "Upgrade Microsoft Visual Studio 2022 version 17.8 to 17.8.22 or later.",
      "Upgrade PowerShell 7.4 to 7.4.11 or later.",
      "Upgrade PowerShell 7.5 to 7.5.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30399"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
