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

Published Oct 15, 2026
·
Updated

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 Software

1 affected component
go/github.com/getkin/kin-openapi<0.149.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade kin-openapi to a version that resolves this vulnerability.

    Fixed in 0.149.0

Event History

Oct 15, 2026
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to a remote crash?

Deployments using kin-openapi before 0.149.0 are exposed if they perform runtime request or response validation on schemas containing a circular allOf, anyOf, or oneOf chain. A request or response that reaches the affected schema can terminate the entire process, including unrelated requests.

2

What does an attacker need to exploit this issue?

An attacker does not need privileges or user interaction. They need to cause validation of a request or response against an affected circular schema chain.

3

Are circular schemas rejected before runtime?

No. Loading and document validation accept the circular reference; the failure occurs during runtime request, response, or direct schema validation.

4

What should be done if an immediate upgrade is not possible?

Avoid runtime validation of schemas with circular allOf, anyOf, or oneOf chains, and remove or redesign those circular schema relationships where possible. The provided data identifies version 0.149.0 as the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203