VDB
Sign up
HIGH8.2

GO-2026-6804

kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content in github.com/getkin/kin-openapi

Quick fix

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

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

Details

kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content 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.146.0
Fixgo get github.com/getkin/kin-openapi@v0.146.0

References