CVE-2026-100354: kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash in github.com/getkin/kin-openapi
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-g8cf-rcjf-c8cf, GO-2026-6785
Summary
The kin-openapi library suffers from uncontrolled recursion when processing circular allOf, anyOf, or oneOf schemas, leading to a fatal process crash. Development and engineering teams using the affected Go package should review their dependencies and upgrade.
Who is affected
Applications utilizing github.com/getkin/kin-openapi are susceptible to a denial of service condition. The crash is triggered when the library evaluates maliciously crafted or accidentally circular schema definitions involving allOf, anyOf, or oneOf.
Exploitability
The EPSS score is 0.004 (percentile 0.384), indicating a very low probability of exploitation in the wild. CISA KEV lists this vulnerability as not actively exploited, and CVSS vector metrics are not documented.
Remediation
- Upgrade github.com/getkin/kin-openapi to version 0.149.0 or later.
- If no fixed version is available in your dependency tree, review and sanitize OpenAPI schemas to prevent circular references in allOf, anyOf, or oneOf structures.
How to check your project
- Inspect project dependency files such as go.mod to check if github.com/getkin/kin-openapi is in use.
- Run dependency scanning tools to identify if the version of github.com/getkin/kin-openapi is below 0.149.0.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi |
>= 0, < 0.149.0 | 0.149.0 | go get github.com/getkin/[email protected] |
FAQ
What causes the process crash in kin-openapi?
The crash is caused by uncontrolled recursion when processing circular allOf, anyOf, or oneOf schemas.
What is the fixed version for this vulnerability?
The fixed version for github.com/getkin/kin-openapi is 0.149.0.
Is this vulnerability actively being exploited?
No, CISA Known Exploited Vulnerabilities indicates this is not actively exploited.
Original advisory description
References
- ADVISORY https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-100354
- FIX https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff
- WEB https://github.com/getkin/kin-openapi/releases/tag/v0.149.0
Source records: GO-2026-6785 (OSV.dev) · EPSS by FIRST, 2026-11-26.