Vulnerability · Published Sep 8, 2026 · Assigned by GitHub_M

CVE-2026-72923Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion

High 7.5

In plain English

A high-severity uncontrolled resource consumption in OpenAPI.NET from microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 20.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetmicrosoft.openapi.readers1.6.30GHSA-7pxr-59rr-hqj2
NuGetmicrosoft.openapi.yamlreader3.10.0GHSA-7pxr-59rr-hqj2
NuGetmicrosoft.openapi.yamlreader2.12.0GHSA-7pxr-59rr-hqj2

Affected products (as reported)

VendorProductVersions
microsoft OpenAPI.NET >= 3.0.0, < 3.10.0>= 2.0.0-preview.11, < 2.12.0< 1.6.30

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References