CWE-674Weakness · CWE-674

CVE-2026-49451

HIGH · 7.5 CVSS v3.1 Published 2026-06-30
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click 8 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A stack overflow vulnerability exists in the OpenAPI.NET SDK (Microsoft.OpenApi) when parsing OpenAPI documents containing circular schema references. The library's JSON and YAML readers fail to properly detect or handle circular references during parsing, causing process termination. This DoS affects all public reader APIs in versions 2.0.0-preview11 through 2.7.5 and 3.5.4.

MitigationUpgrade Microsoft.OpenApi NuGet package to version 2.7.5, 3.5.4, or later. If immediate upgrade is not feasible, validate or sanitize incoming OpenAPI documents for circular references before parsing to prevent stack overflow.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Microsoft.OpenApi package version
    Inspect your project's NuGet package reference (look for Microsoft.OpenApi in your .csproj file, packages.config, or run 'dotnet list package --include-transitive' in your project directory)
    Affected if The reported version falls within 2.0.0-preview11 through 2.7.5 or matches 3.5.4
  2. Locate OpenAPI parsing code
    Search your codebase for usage of OpenApi.NET readers such as OpenApiJsonReader, OpenApiYamlReader, or general document parsing calls that invoke the library's public reader APIs
    Affected if Your application code invokes any public reader APIs from Microsoft.OpenApi to parse JSON or YAML OpenAPI documents
  3. Assess document source trust
    Determine whether the OpenAPI documents being parsed originate from untrusted or external sources (such as user uploads, API responses from third parties, or dynamically loaded schema files)
    Affected if Untrusted or externally-sourced OpenAPI documents are being parsed without prior validation
  4. Check for circular reference handling
    Inspect the OpenAPI documents currently processed by your system, or audit incoming documents for schema patterns where a $ref points back to an ancestor definition (for example, a schema referencing itself directly or through intermediate schemas)
    Affected if Circular schema references exist in the OpenAPI documents being parsed and the library version is within the affected range

You are affected if your environment uses Microsoft.OpenApi version 2.0.0-preview11 through 2.7.5 or version 3.5.4 and parses OpenAPI documents that may contain circular schema references, as this triggers the stack overflow in the library's reader components.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade Microsoft.OpenApi NuGet package to version 2.7.5, 3.5.4, or later. If immediate upgrade is not feasible, validate or sanitize incoming OpenAPI documents for circular references before parsing to prevent stack overflow.

Recommended fix High confidence

2.7.5 (for 2.x branch) or 3.5.4 (for 3.x branch)

  1. Identify which version line of OpenAPI.NET SDK is in use (2.x or 3.x) by checking the package reference in the project
  2. For 2.x users: Update the Microsoft.OpenApi package reference to version 2.7.5 or later
  3. For 3.x users: Update the Microsoft.OpenApi package reference to version 3.5.4 or later
  4. Run NuGet restore to fetch the updated package
  5. Test that OpenAPI document parsing (both JSON and YAML) continues to work correctly with your documents

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,390
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-49451 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-49451 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data