Security mailing lists by PureSourceCode

CVE-2026-100354

HIGH 7.5CVSS 3.1

kin-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/getkin/kin-openapi < 0.149.0 0.149.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.