CVE-2026-100354

GHSA-g8cf-rcjf-c8cf · GO-2026-6785 · published 15 Oct 2026 · updated 5 Nov 2026

kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/getkin/kin-openapi 0.149.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getkin<0.149.0
go: github.com/getkin/kin-openapi<0.149.00.149.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/getkin/kin-openapi (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-100354 severity on Zeptric[![CVE-2026-100354](https://zeptric.io/badge/cve/CVE-2026-100354.svg)](https://zeptric.io/cve/CVE-2026-100354)