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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.90% (percentile 80, 2026-11-28)
- **CWE:** CWE-400
- **Aliases:** GHSA-7pxr-59rr-hqj2
- **Published:** 2026-09-08T17:12:20.594Z
- **Modified:** 2026-10-14T21:17:39.323Z

## Who should check

- Projects that depend on NuGet package Microsoft.OpenApi.YamlReader (\>= 3.0.0, \< 3.10.0)
- Projects that depend on NuGet package Microsoft.OpenApi.Readers (\< 1.6.30)
- Anyone running microsoft OpenAPI.NET \>= 3.0.0, \< 3.10.0; \>= 2.0.0-preview.11, \< 2.12.0; \< 1.6.30

## 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 and fixed versions

- NuGet `Microsoft.OpenApi.YamlReader`: affected \>= 3.0.0, \< 3.10.0; fixed 3.10.0, 2.12.0 (osv)
- NuGet `Microsoft.OpenApi.Readers`: affected \< 1.6.30; fixed 1.6.30 (osv)
- microsoft OpenAPI.NET: \>= 3.0.0, \< 3.10.0; \>= 2.0.0-preview.11, \< 2.12.0; \< 1.6.30 (cvelist)

## Mitigation

- Upgrade Microsoft.OpenApi.YamlReader to one of 3.10.0, 2.12.0 (or later in the same release line).
- Upgrade Microsoft.OpenApi.Readers to 1.6.30 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72923. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72923.md
Affected: Microsoft.OpenApi.YamlReader >= 3.0.0, < 3.10.0; Microsoft.OpenApi.Readers < 1.6.30
Fixed in: 3.10.0, 2.12.0, 1.6.30

Steps:
1. Search this machine and project for Microsoft.OpenApi.YamlReader (NuGet), Microsoft.OpenApi.Readers (NuGet), microsoft OpenAPI.NET: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72923 being exploited?

There is no confirmed exploitation: CVE-2026-72923 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.90% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72923?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-72923?

Microsoft.OpenApi.YamlReader \>= 3.0.0, \< 3.10.0; Microsoft.OpenApi.Readers \< 1.6.30.

### Is there a fix for CVE-2026-72923?

Yes. Fixed in 3.10.0, 2.12.0, 1.6.30. Upgrade Microsoft.OpenApi.YamlReader to one of 3.10.0, 2.12.0 (or later in the same release line). Upgrade Microsoft.OpenApi.Readers to 1.6.30 or later.

### How do I check if I'm affected by CVE-2026-72923?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-72923>
- patch: <https://github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766>
- patch: <https://github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764>
- patch: <https://github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e>
- patch: <https://github.com/microsoft/OpenAPI.NET/pull/3000>
- patch: <https://github.com/microsoft/OpenAPI.NET/pull/3005>
- patch: <https://github.com/microsoft/OpenAPI.NET/pull/3020>
- other: <https://github.com/microsoft/OpenAPI.NET>
- other: <https://github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30>
- other: <https://github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0>
- other: <https://github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72923>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7pxr-59rr-hqj2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-72923> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72923>
