Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-v5pm-xwqc-g5wc",
"modified": "2026-06-30T15:56:24Z",
"modified": "2026-06-30T15:56:25Z",
"published": "2026-06-30T15:56:24Z",
"aliases": [
"CVE-2026-49451"
],
"summary": "Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing",
"details": "### Impact\n\nA 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.\n\n## Affected versions\n\n- `>= 2.0.0-preview11, <= 2.7.4`\n- `>= 3.0.0, <= 3.5.3`\n\n### Patches\n\n- For the 2.X major version, versions 2.7.5 and above are patched.\n- For the 3.X major version, versions 3.5.4 and above are patched.\n- 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.\n\n## Impact\n\nApplications, CLIs, developer tools, or services that parse untrusted OpenAPI documents in-process may be terminated by a crafted OpenAPI document containing circular schema references.\n\nThe 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.\n\n## Details\n\nA 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.\n\nA 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.\n\n### Example payload\n\n```json\n{\n \"openapi\": \"3.0.0\",\n \"info\": {\n \"title\": \"Test\",\n \"version\": \"0.0.1\"\n },\n \"paths\": {},\n \"components\": {\n \"schemas\": {\n \"A\": {\n \"$ref\": \"#/components/schemas/B\"\n },\n \"B\": {\n \"$ref\": \"#/components/schemas/A\"\n }\n }\n }\n}\n```\n\n## Remediation\n\nUsers should upgrade to Microsoft.OpenApi `2.7.5` or `3.5.4`, depending on the major version line they consume.\n\nApplications that parse OpenAPI documents from untrusted sources should avoid parsing those documents in the primary application process when possible. Running parsing in an isolated process can reduce the blast radius of parser failures.",
"summary": "Microsoft.OpenApi: Circular schema references may terminate OpenAPI parsing",
"details": "### Impact\n\nA 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.\n\n## Affected versions\n\n- `>= 2.0.0-preview.11, <= 2.7.4`\n- `>= 3.0.0, <= 3.5.3`\n\n### Patches\n\n- For the 2.X major version, versions 2.7.5 and above are patched.\n- For the 3.X major version, versions 3.5.4 and above are patched.\n- 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.\n\n## Impact\n\nApplications, CLIs, developer tools, or services that parse untrusted OpenAPI documents in-process may be terminated by a crafted OpenAPI document containing circular schema references.\n\nThe 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.\n\n## Details\n\nA 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.\n\nA 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.\n\n### Example payload\n\n```json\n{\n \"openapi\": \"3.0.0\",\n \"info\": {\n \"title\": \"Test\",\n \"version\": \"0.0.1\"\n },\n \"paths\": {},\n \"components\": {\n \"schemas\": {\n \"A\": {\n \"$ref\": \"#/components/schemas/B\"\n },\n \"B\": {\n \"$ref\": \"#/components/schemas/A\"\n }\n }\n }\n}\n```\n\n## Remediation\n\nUsers should upgrade to Microsoft.OpenApi `2.7.5` or `3.5.4`, depending on the major version line they consume.\n\nApplications that parse OpenAPI documents from untrusted sources should avoid parsing those documents in the primary application process when possible. Running parsing in an isolated process can reduce the blast radius of parser failures.",
"severity": [
{
"type": "CVSS_V3",
Expand All @@ -18,14 +18,14 @@
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenAPI"
"name": "Microsoft.OpenApi"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0-preview11"
"introduced": "2.0.0-preview.11"
},
{
"fixed": "2.7.5"
Expand All @@ -40,7 +40,7 @@
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenAPI"
"name": "Microsoft.OpenApi"
},
"ranges": [
{
Expand Down