REDHAT-BUG-2553589: High 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.146.0, openapi3filter.ValidateResponse passes a nil response header schema to decodeValue when an OpenAPI document declares the header with content instead of schema. The document passes validation, but every response validation for the affected operation dereferences the nil schema and panics even when the response does not contain the declared header. Applications that ingest an untrusted specification can expose this as remote availability impact, while applications using only trusted local specifications still crash when the affected operation is exercised. This issue is fixed in version 0.146.0.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade kin-openapi to a version that resolves this vulnerability.

    Fixed in 0.146.0

Event History

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

Frequently Asked Questions

1

Which deployments have a remote attack surface?

Applications that ingest untrusted OpenAPI specifications can be exposed to remote availability impact. The triggering specification declares a response header using content rather than schema.

2

Does the affected response need to include the declared header to trigger the failure?

No. Response validation can dereference the nil schema and panic even when the response does not contain the declared header.

3

How can I determine whether an application is affected?

Check whether it uses kin-openapi versions before 0.146.0 and performs response validation for operations whose OpenAPI documents declare response headers with content instead of schema. The issue is fixed in version 0.146.0.

4

Are applications using only local, trusted specifications unaffected?

No. Trusted local specifications remove the untrusted-specification remote exposure described here, but the application can still crash when an affected operation is exercised.

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