# CVE-2026-97394: kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 45% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T15:29:05.238Z
- Modified: 2026-11-05T23:25:44.119Z
- Also known as: GHSA-p6wj-qrr4-pgh5, GO-2026-6790
- Weaknesses: CWE-248, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getkin kin-openapi: >= 0.136.0, < 0.143.0
- github.com/getkin/kin-openapi (Go): from 0.136.0 before 0.143.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/opnsense/core/security/advisories/GHSA-26cj-h9rj-g5pf> (exploit)
- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5> (advisory, web)
- <https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.143.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-97394> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

- CVE List: [CVE-2026-97394](https://www.cve.org/CVERecord?id=CVE-2026-97394), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-p6wj-qrr4-pgh5](https://github.com/advisories/GHSA-p6wj-qrr4-pgh5), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6790](https://pkg.go.dev/vuln/GO-2026-6790), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-97394](https://nvd.nist.gov/vuln/detail/CVE-2026-97394), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-97394 · Whole record: https://cve.day/CVE-2026-97394.json · Rebuilt by cve.day 2026-11-25T22:59:44.903Z
