Skip to content
OpenAdvisories
High · 7.5 CVE-2026-100354 EUVD-2026-102162GHSA-g8cf-rcjf-c8cfGO-2026-6785

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

Published Oct 15, 2026 · Updated Oct 15, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
getkin kin-openapi < 0.149.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-getkin-kin-openapi No fix yet —
Debian 13 golang-github-getkin-kin-openapi No fix yet —
Debian 12 golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-getkin-kin-openapi No fix yet —
Ubuntu 26.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 24.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 22.04 LTS golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.13-0.4.hum1 RHSA-2026:91292, RHSA-2026:90388
Red Hat Hardened Images 1 grafana13.1 13.1.8-0.3.hum1 RHSA-2026:87077
Red Hat Hardened Images 1 grafana13.2 13.2.3-0.3.hum1 RHSA-2026:85266
Red Hat Hardened Images 1 hugo 0.168.0-0.1.hum1 RHSA-2026:82637
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed timoni 0.36.0-1.1 openSUSE-SU-2026:12309-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling crossplane-provider-aws-eks +4 2.9.0-r5 —
Wolfi rolling crossplane-provider-aws-s3 +10 2.9.0-r4 —
Wolfi rolling crossplane-provider-aws-sns +1 2.9.0-r6 —
Wolfi rolling crossplane-provider-azure-sql +4 2.8.0-r4 —
Wolfi rolling crossplane-provider-keycloak 3.2.2-r1 —
Wolfi rolling gitness 3.3.0-r44 —
Wolfi rolling grafana-12.3 12.3.11-r12 —
Wolfi rolling grafana-12.4 12.4.13-r2 —
Wolfi rolling grafana-13.0 13.0.11-r4 —
Wolfi rolling kubevela-vela-cli +1 1.11.0-r22 —
Wolfi rolling nuclei 3.11.1-r13 —
Wolfi rolling terraform-provider-grafana 4.50.0-r1 —
Wolfi rolling terraform-provider-kubernetes No fix yet —
Wolfi rolling timoni 0.35.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/getkin/kin-openapi < 0.149.0 0.149.0 GHSA-g8cf-rcjf-c8cf

Advisories 6

References