CVE-2026-72923

High

Description

The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMicrosoft.openapi.yamlreader
PublishedSep 8, 2026
First seenSep 8, 2026

How to fix

Update
  • Microsoft.OpenApi.YamlReader3.10.0, 2.12.0 or later
  • Microsoft.OpenApi.Readers1.6.30 or later

Affected products

ProductAffected versionsFixed in
Microsoft.OpenApi.YamlReaderNuGet3.0.0 ≤ v < 3.10.0, 2.0.0-preview.11 ≤ v < 2.12.03.10.0, 2.12.0
Microsoft.OpenApi.ReadersNuGetv < 1.6.301.6.30

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.