REDHAT-BUG-2553571: 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, openapi3.Loader can dereference a nil SchemaRef.Value while resolving a self-referential additionalProperties JSON Reference such as a schema that points to its own additionalProperties member. Loading an attacker-controlled OpenAPI document through LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent before document validation and can panic the loading process. Resolved additionalProperties schemas and ordinary recursive schemas do not take the vulnerable nil-value path. 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 kin-openapi to a version that resolves this vulnerability.

    Fixed in 0.145.0

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using kin-openapi before 0.145.0 are exposed if they load attacker-controlled OpenAPI documents through LoadFromData, LoadFromFile, or LoadFromURI.

2

What must an attacker provide to trigger the failure?

The attacker needs to supply an OpenAPI document containing a self-referential additionalProperties JSON Reference, such as a schema that points to its own additionalProperties member. Processing that document can panic the loading process before document validation occurs.

3

Are all recursive OpenAPI schemas affected?

No. Ordinary recursive schemas and resolved additionalProperties schemas do not take the vulnerable nil-value path; the issue is specific to the self-referential additionalProperties JSON Reference case.

4

What version fixes the issue?

Upgrade kin-openapi to version 0.145.0 or later.

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