High severityNVD Advisory· Published Jun 30, 2026· Updated Jun 30, 2026
Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing
CVE-2026-49451
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. From 2.0.0-preview11 until 2.7.5 and 3.5.4, a small OpenAPI document containing a circular schema reference can cause process termination through stack overflow in Microsoft.OpenApi. The issue affects OpenAPI document parsing through public OpenAPI.NET reader APIs and has been confirmed across both JSON and YAML reader paths. This vulnerability is fixed in 2.7.5 and 3.5.4.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Microsoft.OpenApiNuGet | >= 2.0.0-preview.11, < 2.7.5 | 2.7.5 |
Microsoft.OpenApiNuGet | >= 3.0.0, < 3.5.4 | 3.5.4 |
Affected products
1- Range: >=2.0.0-preview11 <=2.7.5, >=3.5.4
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-v5pm-xwqc-g5wcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-49451ghsaADVISORY
- github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-v5pm-xwqc-g5wcghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.