MEDIUM5.3
GO-2026-6783
kin-openapi: Unauthenticated panic (DoS) in openapi3filter legacy router via non-canonical/unsupported HTTP method on a static path in github.com/getkin/kin-openapi
Quick fix
GO-2026-6783 — github.com/getkin/kin-openapi: upgrade to the fixed version with the command below.
go get github.com/getkin/kin-openapi@v0.145.0Details
kin-openapi: Unauthenticated panic (DoS) in openapi3filter legacy router via non-canonical/unsupported HTTP method on a static 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.145.0Fix
go get github.com/getkin/kin-openapi@v0.145.0