{"answers":{"affected":"4 open source packages ship an affected version, including Microsoft.OpenApi.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49451 exists.","fix":"Upgrade Microsoft.OpenApi to a fixed version for your release line: 2.7.5 or 3.5.4.","what":"CVE-2026-49451 is a high-severity denial of service vulnerability in microsoft OpenAPI.NET, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49451 and fix it if it is affected.\n\nWhat it is: CVE-2026-49451 is a high-severity denial of service vulnerability in microsoft OpenAPI.NET, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49451 exists.\n\nAffected packages and fixed versions:\n- Microsoft.OpenApi (NuGet): affected from 2.0.0-preview.11; fixed in 2.7.5\n- Microsoft.OpenApi (NuGet): affected from 2.0.0-preview.11; fixed in 2.7.5\n- Microsoft.OpenApi (NuGet): affected from 3.0.0; fixed in 3.5.4\n- Microsoft.OpenApi (NuGet): affected from 3.0.0; fixed in 3.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49451/ (Markdown: https://insights.sbomify.com/CVE-2026-49451/index.md)","id":"CVE-2026-49451","markdown":"https://insights.sbomify.com/CVE-2026-49451/index.md","name":"CVE-2026-49451","record":{"aliases":["GHSA-v5pm-xwqc-g5wc"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenAPI.NET SDK","requires_auth":"none","summary":"Attackers can cause application crashes via stack overflow by submitting OpenAPI documents with circular schema references to the Microsoft.OpenApi library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"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. 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.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing","id":"CVE-2026-49451","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"WeasyPrint: CSS Injection via Presentational Hints","id":"CVE-2026-49452"},"packages":[{"ecosystem":"NuGet","fixed":["2.7.5"],"introduced":["2.0.0-preview.11"],"last_affected":[],"package":"Microsoft.OpenApi","purl":null,"source":"GHSA-v5pm-xwqc-g5wc"},{"ecosystem":"NuGet","fixed":["2.7.5"],"introduced":["2.0.0-preview.11"],"last_affected":[],"package":"Microsoft.OpenApi","purl":"pkg:nuget/Microsoft.OpenApi","source":"GHSA-v5pm-xwqc-g5wc"},{"ecosystem":"NuGet","fixed":["3.5.4"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.OpenApi","purl":null,"source":"GHSA-v5pm-xwqc-g5wc"},{"ecosystem":"NuGet","fixed":["3.5.4"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.OpenApi","purl":"pkg:nuget/Microsoft.OpenApi","source":"GHSA-v5pm-xwqc-g5wc"}],"prev":{"headline":"Code injection in joplin","id":"CVE-2026-49450"},"products":["OpenAPI.NET"],"published":"2026-06-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["microsoft"]},"summary":"Attackers can cause application crashes via stack overflow by submitting OpenAPI documents with circular schema references to the Microsoft.OpenApi library.","url":"https://insights.sbomify.com/CVE-2026-49451/"}