Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Microsoft | OpenAPI.NET | 3.0.0 to before 3.10.0; 2.0.0-preview.11 to before 2.12.0; before 1.6.30 | 3.10.0, 2.12.0, 1.6.30 | Patch available | CNA |
| — | Microsoft.OpenApi.YamlReader (NuGet) | 3.0.0 to before 3.10.0 | 3.10.0 | Patch available | GHSA-7pxr-59rr-hqj2 |
| — | Microsoft.OpenApi.YamlReader (NuGet) | 2.0.0-preview.11 to before 2.12.0 | 2.12.0 | Patch available | GHSA-7pxr-59rr-hqj2 |
| — | Microsoft.OpenApi.Readers (NuGet) | before 1.6.30 | 1.6.30 | Patch available | GHSA-7pxr-59rr-hqj2 |
- OpenAPI.NET VendorMicrosoft Affected 3.0.0 to before 3.10.0; 2.0.0-preview.11 to before 2.12.0; before 1.6.30 Fixed in 3.10.0, 2.12.0, 1.6.30 Patch available CNA
- Microsoft.OpenApi.YamlReader (NuGet) Vendor— Affected 3.0.0 to before 3.10.0 Fixed in 3.10.0 Patch available GHSA-7pxr-59rr-hqj2
- Microsoft.OpenApi.YamlReader (NuGet) Vendor— Affected 2.0.0-preview.11 to before 2.12.0 Fixed in 2.12.0 Patch available GHSA-7pxr-59rr-hqj2
- Microsoft.OpenApi.Readers (NuGet) Vendor— Affected before 1.6.30 Fixed in 1.6.30 Patch available GHSA-7pxr-59rr-hqj2
Remediation
- Fix · CNA OpenAPI.NET (microsoft) Fixed in 3.10.0, 2.12.0, 1.6.30
- Fix · GHSA-7pxr-59rr-hqj2 Microsoft.OpenApi.YamlReader (NuGet) Fixed in 3.10.0 Advisory →
- Fix · GHSA-7pxr-59rr-hqj2 Microsoft.OpenApi.YamlReader (NuGet) Fixed in 2.12.0 Advisory →
- Fix · GHSA-7pxr-59rr-hqj2 Microsoft.OpenApi.Readers (NuGet) Fixed in 1.6.30 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-72923
- 2026-10-15 Alias added: GHSA-7pxr-59rr-hqj2
- 2026-10-15 Fix available: NuGet/[email protected], NuGet/[email protected], NuGet/[email protected] · GHSA-7pxr-59rr-hqj2
- 2026-10-15 CVSS score added · GHSA-7pxr-59rr-hqj2
- 2026-10-15 Weakness changed · GHSA-7pxr-59rr-hqj2
- 2026-10-15 12 new references · GHSA-7pxr-59rr-hqj2
- 2026-10-15 Title updated · CNA
- 2026-10-15 Affected versions changed · CNA
- 2026-10-15 3 new references · CNA
References
Other 11
- https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2
- https://github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766
- https://github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764
- https://github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e
- https://github.com/microsoft/OpenAPI.NET/pull/3000
- https://github.com/microsoft/OpenAPI.NET/pull/3005
- https://github.com/microsoft/OpenAPI.NET/pull/3020
- https://github.com/microsoft/OpenAPI.NET
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0
More Microsoft vulnerabilities
- TI-2026-42212 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-37256 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-26194 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-16982 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2025-36863 Windows Server Update Service (WSUS) Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2025-33671 Microsoft SharePoint Server Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-72923 · CVE Program
- CVE-2026-72923 · NVD
- FIRST EPSS
- GHSA-7pxr-59rr-hqj2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences