PT-2026-115010 · Go+2 · Github.Com/Getkin/Kin-Openapi+1

CVE-2026-100354

·

Published

2026-10-15

·

Updated

2026-10-15

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions kin-openapi versions prior to 0.149.0
Description Runtime request, response, and direct schema validation lack cycle detection when an allOf, anyOf, or oneOf chain refers back to an ancestor schema. While loading and document validation accept circular references, processing a request or response that reaches such a schema causes unbounded recursion. This leads to a fatal stack overflow that cannot be caught by recovery mechanisms, resulting in the termination of the entire process and a complete denial of service for all users.
Technical details include two primary recursion sites:
  • The visitJSON and visitXOFOperations functions in openapi3/schema.go (affecting response and direct schema validation).
  • The decodeValue function in openapi3filter/req resp decoder.go (affecting request parameter decoding).
Recommendations Update kin-openapi to version 0.149.0. As a temporary mitigation, avoid using the allOf, anyOf, or oneOf combinators in schemas that may contain circular references.

Exploit

Fix

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-100354
GHSA-G8CF-RCJF-C8CF

Affected Products

Github.Com/Getkin/Kin-Openapi
Kin-Openapi