nuget package report

Is Microsoft.OpenApi safe?

1 known vulnerability, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so nuget packages are not covered.


      cvss
      0.0
      high

      severity out of 10

      epss
      0.00%
      medium

      chance of exploitation in 30 days, 68th percentile of all CVEs

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-v5pm-xwqc-g5wc, the advisory selected below

      // 1 advisories

      GHSA-v5pm-xwqc-g5wc

      HIGHCVE-2026-49451
      // impact

      A small OpenAPI document containing a circular schema reference can cause process termination through stack overflow in Microsoft.OpenApi. The issue affects OpenAPI document parsing through public OpenAPI.NET reader APIs and has been confirmed across both JSON and YAML reader paths.

      // affected versions
      • >= 2.0.0-preview.11, = 3.0.0, <= 3.5.3
      // patches
      • For the 2.X major version, versions 2.7.5 and above are patched.
      • For the 3.X major version, versions 3.5.4 and above are patched.
      • For the 1.X major version, the issue does not apply since that version of the library could not resolve references that pointed to another reference.
      // impact

      Applications, CLIs, developer tools, or services that parse untrusted OpenAPI documents in-process may be terminated by a crafted OpenAPI document containing circular schema references.

      The impact is availability/process termination only. This report does not claim remote code execution, authentication bypass, credential exposure, privilege escalation, data exposure, or Microsoft hosted service impact.

      // details

      A standalone isolated-process harness confirmed repeatable process termination through public OpenAPI.NET reader APIs. The issue reproduces in the affected released NuGet packages and affects both JSON and YAML reader paths.

      A separate Microsoft-owned local consumer, microsoft/kiota, also reproduces the termination through the kiota show --openapi workflow. That workflow parses OpenAPI files in-process using Microsoft.OpenApi and Microsoft.OpenApi.YamlReader.

      // example payload
      {
          "openapi": "3.0.0",
          "info": {
              "title": "Test",
              "version": "0.0.1"
          },
          "paths": {},
          "components": {
              "schemas": {
                  "A": {
                      "$ref": "#/components/schemas/B"
                  },
                  "B": {
                      "$ref": "#/components/schemas/A"
                  }
              }
          }
      }
      // remediation

      Users should upgrade to Microsoft.OpenApi 2.7.5 or 3.5.4, depending on the major version line they consume.

      Applications that parse OpenAPI documents from untrusted sources should avoid parsing those documents in the primary application process when possible. Running parsing in an isolated process can reduce the blast radius of parser failures.

      // cvss v3.1 vector

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

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      None
      Scope
      Unchanged
      Confidentiality
      None
      Integrity
      None
      Availability
      High

      Checked 2026-09-26 at 01:02 UTC. The most recent advisory here was published 2026-06-30. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.