REDHAT-BUG-2553592: High severity go/github.com/getkin/kin-openapi vulnerability

Published Oct 15, 2026
·
Updated

kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.149.0, three openapi3filter decoder paths that were missed by the fix for GHSA-p6wj-qrr4-pgh5 lack a nil-items guard for legal OpenAPI 3.1 array schemas. An unauthenticated remote client can trigger a deterministic nil-pointer panic through an array query parameter, a deepObject query parameter containing an array property, or an application/x-www-form-urlencoded request body whose array property appears inside an allOf, anyOf, or oneOf subschema. The query and composed-body paths reach urlValuesDecoder.parseArray, while the deepObject path reaches buildResObj, and all pass a nil items schema into code that dereferences it. This issue is fixed in version 0.149.0.

Affected Software

1 affected component
go/github.com/getkin/kin-openapi>=0.136.0<0.149.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.149.0

Event History

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

Frequently Asked Questions

1

Which applications are exposed to remote exploitation?

Applications using affected kin-openapi versions that decode OpenAPI 3.1 requests are exposed if their API definitions permit the affected array query parameters, deepObject query parameters with array properties, or form-urlencoded bodies with an array property in an allOf, anyOf, or oneOf subschema.

2

Does exploitation require authentication or a valid request body?

No authentication is required. A remote client can send a crafted request using one of the affected parameter or request-body decoding paths to trigger a deterministic nil-pointer panic.

3

What is the impact of successful exploitation?

Successful exploitation causes a nil-pointer panic in the affected decoder code. The provided information describes a deterministic panic and does not indicate data disclosure, modification, or code execution.

4

What should be done if an affected deployment cannot be upgraded immediately?

The provided information identifies the vulnerable request shapes: array query parameters, deepObject query parameters containing array properties, and application/x-www-form-urlencoded bodies with array properties inside allOf, anyOf, or oneOf subschemas. Restricting or removing those exposed API schema patterns can reduce exposure until an upgrade is possible.

5

Which version contains the fix?

The issue is fixed in kin-openapi version 0.149.0. Affected versions are from 0.136.0 until 0.149.0.

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