highCVSS 7.5Vulnerability

CVE-2026-49451

### Impact 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. ## Affected versions - `>= 2.0.0-preview.11, <= 2.7.4` - `>= 3.0.0, <= 3.5.3` ### Patches - For the 2.X major version, versions 2.7.5 and above are patched. - For the 3.X major version, versions 3.5.4 and above are patched. - For the 1.X major version, the issue does not apply since that version of the library *could not* resolve references that pointed to another reference. ## Impact Applications, CLIs, developer tools, or services that parse untrusted OpenAPI documents in-process may be terminated by a crafted OpenAPI document containing circular schema references. 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. ## Details A standalone isolated-process harness confirmed repeatable process termination through public OpenAPI.NET reader APIs. The issue reproduces in the affected released NuGet packages and affects both JSON and YAML reader paths. A separate Microsoft-owned local consumer, `microsoft/kiota`, also reproduces the termination through the `kiota show --openapi <file>` workflow. That workflow parses OpenAPI files in-process using Microsoft.OpenApi and Microsoft.OpenApi.YamlReader. ### Example payload ```json { "openapi": "3.0.0", "info": { "title": "Test", "version": "0.0.1" }, "paths": {}, "components": { "schemas": { "A": { "$ref": "#/components/schemas/B" }, "B": { "$ref": "#/components/schemas/A" } } } } ``` ## Remediation Users should upgrade to

Properties

severity
high
summary
Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing
epss_score
0.00695
cvss_score
7.5
ghsa_published
2026-06-30T15:56:24Z
source_url
https://github.com/advisories/GHSA-v5pm-xwqc-g5wc
ghsa_updated
2026-07-06T12:57:30Z
ghsa_id
GHSA-v5pm-xwqc-g5wc
cve_id
CVE-2026-49451
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
is_ghsa_only
false
epss_percentile
0.49835

Related Entities (7)

VULNERABLE_TO (2)

[Software]nuget/Microsoft.OpenApi
[Software]nuget/Microsoft.OpenAPI

AFFECTS (2)

[Software]nuget/Microsoft.OpenApi
[Software]nuget/Microsoft.OpenAPI

ENRICHED_BY (1)

[Source]FIRST EPSS

HAS_WEAKNESS (1)

[Weakness]Uncontrolled Recursion

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-49451 (CVSS 7.5) — Ninja Signal Threat Intelligence | Ninja Signal