Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity security flaw in kin-openapi from getkin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 62.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100354
Debian:13golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100354
Debian:14golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100354
Gogithub.com/getkin/kin-openapi0.149.0GHSA-g8cf-rcjf-c8cf
Gogithub.com/getkin/kin-openapi0.149.0GO-2026-6785
Ubuntu:22.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100354
Ubuntu:24.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100354
Ubuntu:26.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100354
Ubuntu:26.10golang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100354

Affected products (as reported)

VendorProductVersions
getkin kin-openapi < 0.149.0

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References