Uncontrolled Recursion Affecting github.com/getkin/kin-openapi/openapi3 package, versions <0.149.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGETKINKINOPENAPIOPENAPI3-21197012
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

NewCVE-2026-100354  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade github.com/getkin/kin-openapi/openapi3 to version 0.149.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the visitJSON and decodeValue functions when processing schemas with circular references in allOf, anyOf, or oneOf combinators. An attacker can cause a fatal process crash by submitting a crafted OpenAPI specification or request that triggers uncontrolled recursion, resulting in a stack overflow and termination of the entire server process.

CVSS Base Scores

version 4.0
version 3.1