VDB
Sign up
HIGH7.5

GO-2026-6795

kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path in github.com/getkin/kin-openapi

Quick fix

GO-2026-6795 — github.com/getkin/kin-openapi: upgrade to the fixed version with the command below.

go get github.com/getkin/kin-openapi@v0.148.0

Details

kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path in github.com/getkin/kin-openapi

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/getkin/kin-openapi
Introduced in: 0Fixed in: 0.148.0
Fixgo get github.com/getkin/kin-openapi@v0.148.0

References