CVE-2026-72923: Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion
A small YAML OpenAPI document containing nested anchors and aliases can cause uncontrolled resource consumption in Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers. The issue affects OpenAPI document parsing through the public YAML reader APIs and can cause the parsing process to allocate excessive memory and terminate through out-of-memory conditions.
Applications, CLIs, developer tools, or services that parse untrusted YAML OpenAPI documents in-process may be terminated by a crafted YAML document containing nested anchors and aliases.
The impact is availability/process termination only. This report does not claim remote code execution, authentication bypass, credential exposure, privilege escalation, data exposure, or Microsoft hosted service impact.
References
- github.com/advisories/GHSA-7pxr-59rr-hqj2
- github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766
- github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764
- github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e
- github.com/microsoft/OpenAPI.NET/pull/3000
- github.com/microsoft/OpenAPI.NET/pull/3005
- github.com/microsoft/OpenAPI.NET/pull/3020
- github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30
- github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0
- github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0
- github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2
- nvd.nist.gov/vuln/detail/CVE-2026-72923
Code Behaviors & Features
Detect and mitigate CVE-2026-72923 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →