CVE-2026-100354
HIGH 7.5CVSS 3.1kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
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.
- Published
- 15 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-g8cf-rcjf-c8cfGO-2026-6785
- Sources
- NVDJSONOSV GHSA-g8cf-rcjf-c8cfJSONOSV GO-2026-6785JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/getkin/kin-openapi | < 0.149.0 | 0.149.0 |
References
- https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff · WEB, FIX
- https://github.com/getkin/kin-openapi/releases/tag/v0.149.0 · WEB
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-100354 · ADVISORY
- https://github.com/getkin/kin-openapi · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Oct 2026)