CVE-2026-49451microsoft OpenAPI.NET
High 7.5 No auth needed
Follow: this CVE · microsoft · microsoft OpenAPI.NET We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 30, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Windows
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for OpenAPI.NET.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Microsoft.OpenApi |
≥ 2.0.0-preview.11 < 2.7.5 |
2.7.5 |
dotnet add package Microsoft.OpenApi --version 2.7.5 |
| NuGet | Microsoft.OpenApi |
≥ 3.0.0 < 3.5.4 |
3.5.4 |
dotnet add package Microsoft.OpenApi --version 3.5.4 |
Per OSV / GitHub Advisories (GHSA-v5pm-xwqc-g5wc). Check the version in your lockfile before upgrading.
Affected products
- microsoft · OpenAPI.NET
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.