CVE-2026-100354 kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
Attackers can crash the application by sending requests with circular schema references, causing uncontrolled recursion and stack overflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-100354?
CVE-2026-100354 is a high-severity denial of service vulnerability in getkin kin-openapi, published on 15 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-674
Which versions are affected by CVE-2026-100354?
2 open source packages ship an affected version, including github.com/getkin/kin-openapi.
| Package | Affected | Fixed in |
|---|---|---|
github.com/getkin/kin-openapi Go | All versions | 0.149.0 |
github.com/getkin/kin-openapi Go | All versions | 0.149.0 |
How do I fix CVE-2026-100354?
Upgrade github.com/getkin/kin-openapi to 0.149.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-100354 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100354 exists.
Sources
Also known as CLEANSTART-2026-OD40775, DEBIAN-CVE-2026-100354, ECHO-8733-0860-28e1, GHSA-g8cf-rcjf-c8cf, MINI-27qg-968w-vcrf, MINI-2qr7-mc8f-56c9 and 25 more.