Read the docs

Uncontrolled recursion in kin-openapi crashes the process

Priority HIGH 72CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.

Summary

kin-openapi, a Go project for handling OpenAPI files, is affected before 0.149.0. Runtime request, response and direct schema validation lack cycle detection (CWE-674) when an allOf, anyOf or oneOf chain refers back to an ancestor schema. A remote attacker without privileges can trigger unbounded recursion in Schema.visitJSON, exhausting the goroutine stack. The fatal stack overflow cannot be caught with recover and terminates the entire process, including unrelated requests.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00435 38th percentileScored 2026-11-07
Fix Partial kin-openapi (getkin): 0.149.0github.com/getkin/kin-openapi (Go): 0.149.0Red Hat: 5 advisoriesRed Hat: 1 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getkinkin-openapibefore 0.149.00.149.0Patch availableCNA
—github.com/getkin/kin-openapi (Go)before 0.149.00.149.0Patch availableGHSA-g8cf-rcjf-c8cf
  • kin-openapi Vendorgetkin Affected before 0.149.0 Fixed in 0.149.0 Patch available CNA
  • github.com/getkin/kin-openapi (Go) Vendor— Affected before 0.149.0 Fixed in 0.149.0 Patch available GHSA-g8cf-rcjf-c8cf

Remediation

Upgrade kin-openapi (github.com/getkin/kin-openapi) to version 0.149.0, which fixes the flaw. Red Hat Hardened Images are fixed by RHSA-2026:82637, RHSA-2026:85266, RHSA-2026:87077, RHSA-2026:90388 and RHSA-2026:91292. Red Hat lists no available plan for Red Hat OpenShift AI (RHOAI).

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

  • Fix · CNA kin-openapi (getkin) Fixed in 0.149.0
  • Fix · GHSA-g8cf-rcjf-c8cf github.com/getkin/kin-openapi (Go) Fixed in 0.149.0 Advisory →

Red Hat 5 advisories

  • RHSA-2026:91292 Released 2026-10-27 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana12.4-12.4.13-0.5.hum1@aarch64, grafana12.4-12.4.13-0.5.hum1@src, grafana12.4-12.4.13-0.5.hum1@x86_64
  • RHSA-2026:90388 Released 2026-10-26 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana12.4-12.4.13-0.4.hum1@aarch64, grafana12.4-12.4.13-0.4.hum1@src, grafana12.4-12.4.13-0.4.hum1@x86_64
  • RHSA-2026:87077 Released 2026-10-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana13.1-13.1.8-0.3.hum1@aarch64, grafana13.1-13.1.8-0.3.hum1@s390x, grafana13.1-13.1.8-0.3.hum1@src +1
Show 2 more Red Hat advisories
  • RHSA-2026:85266 Released 2026-10-19 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana13.2-13.2.3-0.3.hum1@aarch64, grafana13.2-13.2.3-0.3.hum1@s390x, grafana13.2-13.2.3-0.3.hum1@src +1
  • RHSA-2026:82637 Released 2026-10-14 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images hugo-0.168.0-0.1.hum1@aarch64, hugo-0.168.0-0.1.hum1@s390x, hugo-0.168.0-0.1.hum1@src +1

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:82637, RHSA-2026:85266, RHSA-2026:87077, RHSA-2026:90388, RHSA-2026:91292
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-16 Threatist record created from CVE-2026-100354
  2. 2026-10-16 Alias added: GHSA-g8cf-rcjf-c8cf
  3. 2026-10-18 Fix available: RHSA-2026:82637 · Red Hat
  4. 2026-10-18 Fix available: Red Hat Hardened Images · Red Hat
  5. 2026-10-18 CVSS score added · Red Hat
  6. 2026-10-20 Fix available: RHSA-2026:85266 · Red Hat
  7. 2026-10-20 Affected versions changed · Red Hat
  8. 2026-10-22 Fix available: RHSA-2026:87077 · Red Hat
  9. 2026-10-22 Affected versions changed · Red Hat
  10. 2026-10-29 Affected versions changed · Red Hat
  11. 2026-10-30 Fix available: RHSA-2026:90388 · Red Hat
  12. 2026-10-30 Fix available: RHSA-2026:91292 · Red Hat
  13. 2026-10-30 Affected versions changed · Red Hat
  14. 2026-11-06 Affected versions changed · Red Hat
  15. 2026-11-06 Affected versions changed · Red Hat

References

  • TI-2026-51613 kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default CVSS 3.1CRITICAL 9.1
  • TI-2026-53976 kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding CVSS 4.0HIGH 8.7
  • TI-2026-74664 Nil pointer panic in kin-openapi openapi3filter decoding CVSS 3.1HIGH 7.5
  • TI-2026-74663 YAML NaN and Inf values cause panic in kin-openapi validation CVSS 3.1HIGH 7.5
  • TI-2026-74661 kin-openapi nil pointer panic in openapi3filter on array schemas without items CVSS 3.1HIGH 7.5
  • TI-2026-53730 NULL pointer dereference in getkin kin-openapi CVSS 3.1HIGH 7.5
See all 13 →

Sources