Description
kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

A nil-pointer dereference in the openapi3filter package of the kin-openapi library occurs when a Go application processes OpenAPI 3.1 array schemas that miss an "items" keyword. During request or response validation of application/x-www-form-urlencoded or multipart/form-data payloads, the library dereferences a nil Schema.Items pointer, causing a panic and terminating the process. The vulnerability is triggered by a remote unauthenticated client that can send a nonempty request or matching response to an affected operation, leading to a deterministic crash.

Affected Systems

The issue affects the Go library kin-openapi, version 0.136.0 through 0.142.x – any application that imports the library in that range and validates OpenAPI 3.1 schemas containing array parameters without an "items" definition.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, but the EPSS score of less than 1% suggests exploitation is unlikely at present. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by sending crafted requests to any public endpoint that processes OpenAPI 3.1 schemas with malformed array definitions, leading to an application crash. The problem requires no privilege escalation and can be triggered remotely without authentication.

Generated by OpenCVE AI on October 16, 2026 at 21:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kin-openapi library to version 0.143.0 or later.
  • Validate all OpenAPI 3.1 array schemas to ensure an "items" definition exists before they are passed to the openapi3filter library.
  • Configure the application or its process manager to recover from panics, for example by adding defer/recover logic or using a supervisor that restarts the service upon crash.

Generated by OpenCVE AI on October 16, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p6wj-qrr4-pgh5 kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
History

Tue, 20 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 18 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 15 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.
Title kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
Weaknesses CWE-248
CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-20T02:45:09.805Z

Reserved: 2026-09-24T14:16:20.202Z

Link: CVE-2026-97394

cve-icon Vulnrichment

Updated: 2026-10-20T02:45:04.985Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T16:18:25.273

Modified: 2026-10-20T03:17:17.587

Link: CVE-2026-97394

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T15:29:05Z

Links: CVE-2026-97394 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T18:30:14Z

Weaknesses