Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.149.0, runtime request, response, and direct schema validation lacks cycle detection when an allOf, anyOf, or oneOf chain refers back to an ancestor schema, even though loading and document validation accept the circular reference. A request or response that reaches the affected schema causes unbounded recursion in Schema.visitJSON or openapi3filter.decodeValue and exhausts the Go goroutine stack. The resulting fatal stack overflow cannot be caught with recover and terminates the entire process, including unrelated requests. This issue is fixed in version 0.149.0.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Fatal Process Crash via Unbounded Recursion
Action: Patch
AI Analysis

Impact

kin-openapi versions prior to 0.149.0 lack cycle detection for nested allOf, anyOf, or oneOf schemas that reference an ancestor schema. When a request, response, or direct validation reaches such a circular reference, the library recurses without limit in Schema.visitJSON or openapi3filter.decodeValue, exhausting the Go goroutine stack. The resulting stack overflow is fatal, cannot be caught by recover, and terminates the entire process—including unrelated requests—resulting in a denial‑of‑service condition for all users of the application.

Affected Systems

The vulnerability affects the GetKin project, specifically the kin-openapi Go library. All releases earlier than v0.149.0 are impacted; the security fix is included beginning with version 0.149.0.

Risk and Exploitability

The CVSS score of 7.5 reflects a moderate‑to‑high severity for causing an unhandled crash, though the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation would typically occur when an attacker supplies or induces processing of a circular OpenAPI schema—either during file upload, API import, or request parsing—causing the library to enter infinite recursion and crash the host process. This leads to a denial of service for all traffic handled by the affected process.

Generated by OpenCVE AI on October 17, 2026 at 01:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kin-openapi dependency to version 0.149.0 or newer.
  • Rebuild or redeploy all services that import the library so the patched version is loaded.
  • Monitor application logs for stack overflow errors and ensure that process restart or fail‑over mechanisms are in place to recover from crashes.

Generated by OpenCVE AI on October 17, 2026 at 01:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g8cf-rcjf-c8cf kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
History

Fri, 23 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

threat_severity

Important


Thu, 15 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. Prior to 0.149.0, runtime request, response, and direct schema validation lacks cycle detection when an allOf, anyOf, or oneOf chain refers back to an ancestor schema, even though loading and document validation accept the circular reference. A request or response that reaches the affected schema causes unbounded recursion in Schema.visitJSON or openapi3filter.decodeValue and exhausts the Go goroutine stack. The resulting fatal stack overflow cannot be caught with recover and terminates the entire process, including unrelated requests. This issue is fixed in version 0.149.0.
Title kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T18:31:51.798Z

Reserved: 2026-09-25T19:19:54.697Z

Link: CVE-2026-100354

cve-icon Vulnrichment

Updated: 2026-10-15T18:31:44.274Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T17:17:07.780

Modified: 2026-10-15T19:17:12.943

Link: CVE-2026-100354

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T16:02:00Z

Links: CVE-2026-100354 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:00:16Z

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')