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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | timoni | 0.36.0-1.1 | openSUSE-SU-2026:12309-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi | < 0.149.0 | 0.149.0 | GHSA-g8cf-rcjf-c8cf |
Advisories 6
- RHSA-2026:90388 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:87077 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:91292 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- openSUSE-SU-2026:12309-1 timoni-0.36.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 28, 2026
- RHSA-2026:85266 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:82637 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026