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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.85%, higher than 79% of CVEs (2026-12-01)
- Published: 2026-09-08T17:12:20.594Z
- Modified: 2026-10-14T21:17:39.323Z
- Also known as: GHSA-7pxr-59rr-hqj2
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- microsoft OpenAPI.NET: >= 3.0.0, < 3.10.0; >= 2.0.0-preview.11, < 2.12.0; < 1.6.30
- Microsoft.OpenApi.YamlReader (NuGet): from 3.0.0 before 3.10.0; from 2.0.0-preview.11 before 2.12.0
- Microsoft.OpenApi.Readers (NuGet): before 1.6.30

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-72923](https://www.cve.org/CVERecord?id=CVE-2026-72923), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-7pxr-59rr-hqj2](https://github.com/advisories/GHSA-7pxr-59rr-hqj2), CC-BY-4.0, modified 2026-10-14
- NVD: [CVE-2026-72923](https://nvd.nist.gov/vuln/detail/CVE-2026-72923), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-72923 · Whole record: https://cve.day/CVE-2026-72923.json · Rebuilt by cve.day 2026-11-25T22:59:36.905Z
