Uncaught Exception Affecting github.com/getkin/kin-openapi/openapi2 package, versions <0.145.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (43rd 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-GITHUBCOMGETKINKINOPENAPIOPENAPI2-21197472
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

NewCVE-2026-100347  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade github.com/getkin/kin-openapi/openapi2 to version 0.145.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception via the ValidationHandler process. An attacker can cause the application to panic and disrupt service availability by sending HTTP requests with non-canonical or unsupported HTTP method tokens to any existing static path, resulting in aborted connections and unbounded error log growth before authentication is performed. This is only exploitable if the targeted path is a static (non-templated) endpoint defined in the OpenAPI specification.

CVSS Base Scores

version 4.0
version 3.1