Skip to content

Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY]#119

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nuget-microsoft.openapi-vulnerability
Open

Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY]#119
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nuget-microsoft.openapi-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
Microsoft.OpenApi 2.4.12.7.6 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing

CVE-2026-49451 / GHSA-v5pm-xwqc-g5wc

More information

Details

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
{
    "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 Microsoft.OpenApi 2.7.5 or 3.5.4, depending on the major version line they consume.

Applications 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

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

Microsoft/OpenAPI.NET (Microsoft.OpenApi)

v2.7.6

Bug Fixes
  • reader: preserve nullable Null flag when type appears after nullable in V3.1/V3.2 deserializers (288e95a)

Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • "after 10am every weekday,before 4pm every weekday"

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/nuget-microsoft.openapi-vulnerability branch 2 times, most recently from c9d5765 to 15739de Compare July 3, 2026 10:23
@renovate renovate Bot changed the title Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY] Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY] - autoclosed Jul 6, 2026
@renovate renovate Bot closed this Jul 6, 2026
@renovate
renovate Bot deleted the renovate/nuget-microsoft.openapi-vulnerability branch July 6, 2026 15:12
@renovate renovate Bot changed the title Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY] - autoclosed Update dependency Microsoft.OpenApi to 2.7.6 [SECURITY] Jul 8, 2026
@renovate renovate Bot reopened this Jul 8, 2026
@renovate
renovate Bot force-pushed the renovate/nuget-microsoft.openapi-vulnerability branch 4 times, most recently from a5f2c33 to 3058e8e Compare July 10, 2026 11:20
@renovate
renovate Bot force-pushed the renovate/nuget-microsoft.openapi-vulnerability branch 2 times, most recently from 7de621c to 78ad0b7 Compare July 22, 2026 08:59
@renovate
renovate Bot force-pushed the renovate/nuget-microsoft.openapi-vulnerability branch from 78ad0b7 to 205c0b3 Compare July 24, 2026 08:18
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants