REDHAT-BUG-2553580: Medium severity go/github.com/getkin/kin-openapi vulnerability

Published Oct 15, 2026
·
Updated

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3filter.ValidationHandler uses the routers/legacy router, which passes an unsupported or non-canonical HTTP method for an existing static path to openapi3.PathItem.GetOperation. The default branch of GetOperation panics before authentication runs, so an unauthenticated remote client can repeatedly send methods such as PROPFIND or lowercase get to abort connections and generate stack-trace log growth. The specific panic requires an exact static path; a concrete path matched only by a templated route does not reach the same sink. This issue is fixed in version 0.145.0.

Affected Software

1 affected component
go/github.com/getkin/kin-openapi<0.145.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.145.0

Event History

Oct 15, 2026
Data Sourced
via Red Hat·03:51 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using kin-openapi before 0.145.0 that use openapi3filter.ValidationHandler with the legacy router are exposed. The vulnerable request must target an exact static path; routes matched only through a path template do not reach this panic.

2

Does an attacker need authentication or a valid HTTP method?

No. The panic occurs before authentication, and an unauthenticated remote client can trigger it by sending an unsupported or non-canonical method, such as PROPFIND or lowercase get, to an existing static path.

3

What is the operational impact of exploitation?

Repeated requests can abort connections and cause stack-trace log growth. This can be triggered repeatedly by a remote client.

4

How can the issue be remediated?

Update kin-openapi to version 0.145.0 or later, which contains the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203