Getkin kin-openapi
kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.136.0, < 0.143.0
Fixed in 0.143.0
Mitigation
Upgrade kin-openapi to 0.143.0 or later.
References
- Vendor advisory github.com/getkin/kin-openapi/security/advisor…
- Patch github.com/getkin/kin-openapi/commit/30e292371…
- Release notes github.com/getkin/kin-openapi/releases/tag/v0.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://github.com/opnsense/core/security/advisories/GHSA-26cj-h9rj-g5pf | unknown | 14 Nov 2026 |