CVE-2026-97394
CVE-2026-97394 · kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.4%
- Published
- Updated
Stack: system
Affected products and versions
kin-openapi
- Versions
- >= 0.136.0, < 0.143.0: Affected
No fix published
golang-github-getkin-kin-openapi Ubuntu:22.04:LTS
- Versions
- 0.32.0-2
- 0.80.0-1
- 0.85.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:24.04:LTS
- Versions
- 0.117.0-1
- 0.120.0-1
- 0.122.0-3
- 0.123.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:26.10
- Versions
- 0.124.0-1
- 0.135.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:26.04:LTS
- Versions
- 0.124.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5
- https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d
- https://github.com/getkin/kin-openapi/releases/tag/v0.143.0
- https://github.com/opnsense/core/security/advisories/GHSA-26cj-h9rj-g5pf
- https://nvd.nist.gov/vuln/detail/CVE-2026-97394