CVE-2026-97394
HIGH 7.5CVSS 3.1kin-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.
- Published
- 15 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-248CWE-476
- Also known as
- GHSA-p6wj-qrr4-pgh5GO-2026-6790
- Sources
- NVDJSONOSV GHSA-p6wj-qrr4-pgh5JSONOSV GO-2026-6790JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/getkin/kin-openapi | >= 0.136.0, < 0.143.0 | 0.143.0 |
References
- https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d · WEB, FIX
- https://github.com/getkin/kin-openapi/releases/tag/v0.143.0 · WEB
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5 · WEB, ADVISORY
- https://github.com/opnsense/core/security/advisories/GHSA-26cj-h9rj-g5pf
- https://nvd.nist.gov/vuln/detail/CVE-2026-97394 · ADVISORY
- https://github.com/getkin/kin-openapi · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Oct 2026)