SEVERITY NOT PROVIDED EPSS 0.6% · 50th percentile

CVE-2026-97394: kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items in github.com/getkin/kin-openapi

Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-p6wj-qrr4-pgh5, GO-2026-6790

Summary

The kin-openapi library contains a nil-pointer dereference vulnerability triggered by OpenAPI 3.1 array schemas that lack defined items. Developers using this library to parse or validate OpenAPI specifications should update to the patched version to prevent potential application crashes.

Who is affected

This flaw allows an attacker to cause a denial-of-service condition by providing a maliciously crafted OpenAPI 3.1 schema. Any application utilizing the openapi3filter component to process schemas missing the required items field is susceptible to the resulting panic. The impact is limited to service availability during the processing of these specific input structures.

Exploitability

The vulnerability severity is not documented, as no CVSS vector or base score is available. With an EPSS score of 0.006 and no listing in CISA's Known Exploited Vulnerabilities catalog, there is currently no evidence of active exploitation in the wild.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/getkin/kin-openapi >= 0.136.0, < 0.143.0 0.143.0 go get github.com/getkin/[email protected]

FAQ

What specifically triggers the nil-pointer dereference?

The panic occurs in the openapi3filter component when processing an OpenAPI 3.1 array schema that fails to define an 'items' property.

Is this vulnerability being actively exploited?

No, there is no evidence of active exploitation as the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

What should I do if I am using an affected version?

You should update your project dependency to github.com/getkin/kin-openapi version 0.143.0 immediately to resolve the issue.

Original advisory description
kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items in github.com/getkin/kin-openapi

References

Source records: GO-2026-6790 (OSV.dev) · EPSS by FIRST, 2026-11-21.