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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T16:02:00.566Z
- Modified: 2026-11-05T23:26:08.883Z
- Also known as: GHSA-g8cf-rcjf-c8cf, GO-2026-6785
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- getkin kin-openapi: < 0.149.0
- github.com/getkin/kin-openapi (Go): before 0.149.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf> (exploit, advisory, web)
- <https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.149.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100354> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

- CVE List: [CVE-2026-100354](https://www.cve.org/CVERecord?id=CVE-2026-100354), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-g8cf-rcjf-c8cf](https://github.com/advisories/GHSA-g8cf-rcjf-c8cf), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6785](https://pkg.go.dev/vuln/GO-2026-6785), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-100354](https://nvd.nist.gov/vuln/detail/CVE-2026-100354), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-100354 · Whole record: https://cve.day/CVE-2026-100354.json · Rebuilt by cve.day 2026-11-25T22:59:44.905Z
