{"id":"CVE-2026-72923","aliases":["EUVD-2026-73080","GHSA-7pxr-59rr-hqj2"],"status":"published","title":"Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion","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. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01845,"percentile":0.79223,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-770"],"published":"2026-09-08T17:12:20Z","modified":"2026-10-28T02:30:58Z","fixes":[{"ecosystem":"NuGet","package":"Microsoft.OpenApi.YamlReader","fixed_in":["3.10.0","2.12.0"],"sources":["ghsa","osv"]},{"ecosystem":"NuGet","package":"Microsoft.OpenApi.Readers","fixed_in":["1.6.30"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"Microsoft.OpenApi.YamlReader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.10.0"}]}]},{"source":"ghsa","ecosystem":"NuGet","package":"Microsoft.OpenApi.YamlReader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-preview.11"},{"fixed":"2.12.0"}]}]},{"source":"ghsa","ecosystem":"NuGet","package":"Microsoft.OpenApi.Readers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.30"}]}]},{"source":"osv","ecosystem":"NuGet","package":"Microsoft.OpenApi.YamlReader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.10.0"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.1.1","3.1.2","3.1.3","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5","3.6.0","3.7.0","3.8.0","3.9.0"]},{"source":"osv","ecosystem":"NuGet","package":"Microsoft.OpenApi.YamlReader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-preview.11"},{"fixed":"2.12.0"}]}],"versions":["2.0.0","2.0.1","2.1.0","2.10.0","2.11.0","2.2.0","2.3.0","2.3.1","2.3.10","2.3.11","2.3.12","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0","2.6.0","2.6.1","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.8.0","2.9.0"]},{"source":"osv","ecosystem":"NuGet","package":"Microsoft.OpenApi.Readers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.30"}]}],"versions":["1.0.0","1.0.0-beta008","1.0.0-beta009","1.0.0-beta010","1.0.0-beta011","1.0.0-beta012","1.0.0-beta013","1.0.0-beta014","1.0.0-beta015","1.0.0-beta016","1.0.0-beta017","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.2.0","1.2.0-preview","1.2.1","1.2.2","1.2.3","1.3.0-preview","1.3.1","1.3.1-preview4","1.3.1-preview5","1.3.1-preview6","1.3.2","1.4.0","1.4.0-preview1","1.4.0-preview2","1.4.0-preview3","1.4.1","1.4.4","1.4.4-preview1","1.4.5","1.5.0","1.6.0","1.6.1","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.6.17","1.6.18","1.6.19","1.6.2","1.6.20","1.6.21","1.6.22","1.6.23","1.6.24","1.6.25","1.6.26","1.6.27","1.6.28","1.6.29","1.6.3","1.6.4","1.6.4-preview1","1.6.4-preview2","1.6.4-preview3","1.6.4-preview4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9"]}],"products":[{"vendor":"microsoft","product":"openapi.net"}],"references":[{"url":"https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72923","tags":["advisory"]},{"url":"https://github.com/microsoft/OpenAPI.NET/pull/3000","tags":["web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/pull/3005","tags":["web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/pull/3020","tags":["web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30","tags":["web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0","tags":["web"]},{"url":"https://github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7pxr-59rr-hqj2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72923.json","tags":["advisory"]},{"url":"https://github.com/microsoft/OpenAPI.NET","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-72923","title":"Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion","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. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.","status":"published","published":"2026-09-08T17:12:20.594Z","modified":"2026-10-14T20:08:53.059Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:19:51.663093Z"}],"euvd":[{"id":"EUVD-2026-73080","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. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.","status":"published","published":"2026-09-08T17:12:20Z","modified":"2026-10-14T20:08:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T17:27:12.294621Z"}],"ghsa":[{"id":"GHSA-7pxr-59rr-hqj2","title":"Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion","description":"### Impact\n\nA 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.\n\n## Affected versions\n\n### Microsoft.OpenApi.YamlReader\n\n* `\u003e= 2.0.0-preview.11, \u003c 2.12.0`\n* `\u003e= 3.0.0, \u003c 3.10.0`\n\n### Microsoft.OpenApi.Readers\n\n* `\u003c 1.6.30`\n\n### Patches\n\n* For the 1.X major version, versions 1.6.30 and above are patched.\n* For the 2.X major version, versions 2.12.0 and above are patched.\n* For the 3.X major version, versions 3.10.0 and above are patched.\n\n## Impact\n\nApplications, 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.\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\nMicrosoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers parses YAML through SharpYaml. SharpYaml represents aliases as shared `YamlNode` instances in a directed acyclic graph, so the initial parsed YAML graph remains small. During conversion to `System.Text.Json.Nodes.JsonNode`, aliases must be materialized as independent nodes because `JsonNode` instances cannot be attached to multiple parents.\n\nWithout a bound on that conversion work, a small YAML document using nested anchors and aliases can expand exponentially during conversion. With `N` nested anchors each referenced `k` times, conversion can require `k^N` materialized JSON nodes, leading to excessive memory allocation and possible process termination.\n\nThis is an uncontrolled resource consumption vulnerability, also known as a \"billion laughs\" style denial of service.\n\n### Example payload\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Test\n  version: 0.0.1\npaths: {}\nx-a: \u0026a [\"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\"]\nx-b: \u0026b [*a, *a, *a, *a, *a, *a, *a, *a, *a]\nx-c: \u0026c [*b, *b, *b, *b, *b, *b, *b, *b, *b]\nx-d: \u0026d [*c, *c, *c, *c, *c, *c, *c, *c, *c]\nx-e: \u0026e [*d, *d, *d, *d, *d, *d, *d, *d, *d]\nx-f: \u0026f [*e, *e, *e, *e, *e, *e, *e, *e, *e]\n```\n\n## Remediation\n\nUsers should upgrade to Microsoft.OpenApi.YamlReader `2.12.0` or `3.10.0`, or Microsoft.OpenApi.Readers `1.6.30`, depending on the major version line they consume.\n\nThe patched versions bound YAML-to-JSON conversion work and fail fast instead of allowing unbounded expansion. The default limits are:\n\n* Maximum materialized node count: `5,000,000`\n* Maximum nesting depth: `64`\n\nWhen the limits are exceeded, `OpenApiYamlReader.Read` reports an `OpenApiDiagnostic` error and does not return a parsed document.\n\nThe limits are exposed as process-wide static properties on `YamlConverter` for consumers that need to tune them for trusted workloads:\n\n* `YamlConverter.MaxNodeCount`\n* `YamlConverter.MaxDepth`\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.","status":"published","published":"2026-10-14T20:11:29Z","modified":"2026-10-14T20:11:31Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-11-02T14:41:31.175024Z"}],"nvd":[{"id":"CVE-2026-72923","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. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.","status":"published","published":"2026-09-08T18:20:16.31Z","modified":"2026-10-14T21:17:39.323Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:12:45.264578Z"}],"osv":[{"id":"CVE-2026-72923","title":"Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion","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. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.","status":"published","published":"2026-09-08T17:12:20.594Z","modified":"2026-10-28T02:30:58.127563024Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:45:15.88521Z"},{"id":"GHSA-7pxr-59rr-hqj2","title":"Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion","description":"### Impact\n\nA 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.\n\n## Affected versions\n\n### Microsoft.OpenApi.YamlReader\n\n* `\u003e= 2.0.0-preview.11, \u003c 2.12.0`\n* `\u003e= 3.0.0, \u003c 3.10.0`\n\n### Microsoft.OpenApi.Readers\n\n* `\u003c 1.6.30`\n\n### Patches\n\n* For the 1.X major version, versions 1.6.30 and above are patched.\n* For the 2.X major version, versions 2.12.0 and above are patched.\n* For the 3.X major version, versions 3.10.0 and above are patched.\n\n## Impact\n\nApplications, 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.\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\nMicrosoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers parses YAML through SharpYaml. SharpYaml represents aliases as shared `YamlNode` instances in a directed acyclic graph, so the initial parsed YAML graph remains small. During conversion to `System.Text.Json.Nodes.JsonNode`, aliases must be materialized as independent nodes because `JsonNode` instances cannot be attached to multiple parents.\n\nWithout a bound on that conversion work, a small YAML document using nested anchors and aliases can expand exponentially during conversion. With `N` nested anchors each referenced `k` times, conversion can require `k^N` materialized JSON nodes, leading to excessive memory allocation and possible process termination.\n\nThis is an uncontrolled resource consumption vulnerability, also known as a \"billion laughs\" style denial of service.\n\n### Example payload\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Test\n  version: 0.0.1\npaths: {}\nx-a: \u0026a [\"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\", \"lol\"]\nx-b: \u0026b [*a, *a, *a, *a, *a, *a, *a, *a, *a]\nx-c: \u0026c [*b, *b, *b, *b, *b, *b, *b, *b, *b]\nx-d: \u0026d [*c, *c, *c, *c, *c, *c, *c, *c, *c]\nx-e: \u0026e [*d, *d, *d, *d, *d, *d, *d, *d, *d]\nx-f: \u0026f [*e, *e, *e, *e, *e, *e, *e, *e, *e]\n```\n\n## Remediation\n\nUsers should upgrade to Microsoft.OpenApi.YamlReader `2.12.0` or `3.10.0`, or Microsoft.OpenApi.Readers `1.6.30`, depending on the major version line they consume.\n\nThe patched versions bound YAML-to-JSON conversion work and fail fast instead of allowing unbounded expansion. The default limits are:\n\n* Maximum materialized node count: `5,000,000`\n* Maximum nesting depth: `64`\n\nWhen the limits are exceeded, `OpenApiYamlReader.Read` reports an `OpenApiDiagnostic` error and does not return a parsed document.\n\nThe limits are exposed as process-wide static properties on `YamlConverter` for consumers that need to tune them for trusted workloads:\n\n* `YamlConverter.MaxNodeCount`\n* `YamlConverter.MaxDepth`\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.","status":"published","published":"2026-10-14T20:11:29Z","modified":"2026-10-14T20:15:04.401941991Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-11-02T15:46:41.349637Z"}]}}
