Skip to main content

OpenAPI.NET EUVDEUVD-2026-73080

| CVE-2026-72923 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-08 security-advisories@github.com GHSA-7pxr-59rr-hqj2
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft minimal YAML document with deeply nested anchors
  2. Delivery
    Submit via HTTP to public parsing endpoint
  3. Exploit
    SharpYaml parses compact DAG (small footprint)
  4. Execution
    Alias materialization converts DAG to k^N independent JsonNode copies
  5. Persist
    .NET heap exhausted by exponential allocation
  6. Impact
    Runtime OOM terminates process, service denied

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a .NET application invokes the public YAML reader APIs of Microsoft.OpenApi.YamlReader or Microsoft.OpenApi.Readers (e.g., OpenApiDocument.Load(), OpenApiReader.Read()) against attacker-controlled YAML input on an affected version. No authentication is required when the parsing endpoint is publicly accessible, per CVSS PR:N. Exploitation is limited by: (1) parsing path - applications that parse only internally generated, pre-validated, or trusted YAML are not at risk; (2) version - applications running YamlReader 2.12.0+/3.10.0+ or Readers 1.6.30+ are patched; (3) runtime scope - this is a .NET NuGet library vulnerability and does not affect other language OpenAPI parsers or non-.NET deployments.

Impact

The provided CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) accurately reflects the attack mechanics: network-reachable, no authentication, no user interaction, and high availability impact through process termination. SSVC rates exploitation as none currently, automatable yes, and technical impact as partial - this is consistent: the attack is trivially scalable once a payload exists, but exploitation is not yet confirmed. The vulnerability is not listed in CISA KEV, and no public proof-of-concept is identified in the input data. Real-world risk is concentrated in .NET services that expose public-facing endpoints accepting user-supplied YAML OpenAPI documents - API gateways, developer portals, design-time tooling servers, and Swagger-driven validation pipelines are the most likely targets. Applications that parse only internally generated or pre-validated YAML carry substantially lower practical risk. The score of 7.5 is appropriate; there is no CVSS inflation concern here - the absence of confidentiality and integrity impact is correctly reflected.

Exploit ScenarioDerived

An attacker sends a single HTTP POST request containing a crafted YAML OpenAPI document - potentially fewer than 200 bytes - to any public endpoint that forwards user input to the OpenAPI.NET YAML reader APIs. The document encodes deeply nested YAML anchors where each level is aliased multiple times; the library's alias-materialization step allocates exponentially many JsonNode objects within milliseconds, exhausting the .NET process heap. The host process is terminated by the runtime's out-of-memory handler, denying service to all legitimate users until the process is restarted.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Uncontrolled memory consumption in Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers allows unauthenticated remote attackers to terminate a .NET host process by submitting a small, specially crafted YAML OpenAPI document containing nested anchors and aliases. The attack exploits a 'billion laughs' style amplification at the boundary between SharpYaml's directed acyclic graph representation and System.Text.Json.Nodes.JsonNode materialization: because a JsonNode cannot be shared across parents, each alias must be deep-copied independently, yielding k^N allocations for N nested anchor levels each referenced k times. No public exploit has been identified at time of analysis, but SSVC confirms the attack is automatable, meaning tooling can deliver it at scale once a payload is known.

RemediationAI

Upgrade immediately to the patched versions: Microsoft.OpenApi.YamlReader 2.12.0 (for v2 users) or 3.10.0 (for v3 users), and Microsoft.OpenApi.Readers 1.6.30 or later. The patches enforce upper bounds on YAML-to-JSON conversion by node count and nesting depth, returning an OpenApiDiagnostic error for documents exceeding those limits rather than expanding without bound. The full advisory is at https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2. If immediate patching is blocked, restrict access to any endpoint that passes user-supplied YAML to these libraries - require authentication or limit access to trusted internal callers only. Note that document size limits alone are insufficient as a compensating control: a malicious payload can be very small in raw bytes while still producing catastrophic expansion. Only the patched library correctly bounds the conversion; there is no safe workaround that preserves full YAML parsing functionality on unpatched versions.

Affected VersionsENISA

OpenApi.YamlReader 3.0.0 <3.10.0
OpenApi.YamlReader 2.0.0-preview.11 <2.12.0
OpenApi.Readers 0 <1.6.30

Affected Packages

nuget microsoft.openapi.readers fix: 1.6.30
nuget microsoft.openapi.yamlreader fix: 2.12.0, 3.10.0
euvd openapi_readers fix: 1.6.30
euvd openapi_yamlreader fix: 2.12.0, 3.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers are NuGet packages within the OpenAPI.NET project (github.com/microsoft/OpenAPI.NET) used by .NET applications to parse OpenAPI specification documents in YAML format. The vulnerability arises at the interface of two parsing layers: SharpYaml correctly represents YAML anchor/alias structures as a compact directed acyclic graph, keeping the initial parse tree small regardless of alias count. However, the subsequent conversion to System.Text.Json.Nodes.JsonNode - which is required by OpenAPI.NET's processing pipeline - cannot reuse nodes across multiple parents. Each alias is therefore materialized as an independent deep copy, producing exponential node count growth with input N nested anchors referenced k times each: k^N total JsonNode objects. This is a textbook CWE-400 (Uncontrolled Resource Consumption) attack, structurally equivalent to the 'billion laughs' XML entity expansion attack, adapted to the YAML anchor/alias mechanism. The patched versions (YamlReader 2.12.0/3.10.0, Readers 1.6.30) introduce upper bounds on node count and nesting depth during conversion, returning an OpenApiDiagnostic error instead of expanding without limit.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable with no auth or user interaction required; impact is purely availability via OOM process termination, with no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 08, 2026 - 18:35 EUVD
CVE Published
Sep 08, 2026 - 18:20 cve.org
HIGH 7.5

DescriptionCVE.org

In Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 until 2.12.0 and from 3.0.0 until 3.10.0, and in Microsoft.OpenApi.Readers prior to 1.6.30, a small YAML OpenAPI document containing nested anchors and aliases can cause uncontrolled resource consumption when parsed through the public YAML reader APIs. YAML is parsed through SharpYaml, which represents aliases as shared nodes in a directed acyclic graph, so the parsed YAML graph stays small, but converting that graph to System.Text.Json.Nodes.JsonNode requires every alias to be materialized as an independent node because a JsonNode cannot be attached to multiple parents. Without a bound on that conversion work, a document with N nested anchors each referenced k times can require k^N materialized JSON nodes, leading to excessive memory allocation and process termination through out-of-memory conditions, a billion laughs style denial of service. The patched versions bound the YAML-to-JSON conversion by node count and nesting depth and report an OpenApiDiagnostic error instead of expanding without limit. This vulnerability is fixed in Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0, and Microsoft.OpenApi.Readers 1.6.30.

Technical POC Analysis

CWE-400: Uncontrolled Resource Consumption.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A vulnerability in Microsoft's OpenAPI libraries enables remote attackers to crash .NET application processes without requiring authentication, creating immediate availability risk for services processing API specifications. Organizations running these libraries expose production systems to potential service outages through specially crafted YAML documents. Any company dependent on .NET-based APIs or services faces potential business continuity impact until patching is complete.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, restrict YAML processing to authenticated users only, implement strict request size limits at the application or reverse-proxy level, and configure parsing timeouts to prevent resource exhaustion from specially crafted documents.

Threat Intelligence Overview

EPSS Score
1.2%
Top 34% exploitable
Prevalence
Medium
popular .NET NuGet library for OpenAPI document parsing
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy