CVE-2026-97394 kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| getkin kin-openapi(Go) | >= 0.136.0, < 0.143.0 | 0.143.0 | Fixed |
| redhat/grafana12-4-main(Red Hat hummingbird 1) | < 12.4.12-0.4.hum1 | 12.4.12-0.4.hum1 | Fixed |
| redhat/grafana13-1-main(Red Hat hummingbird 1) | < 13.1.7-0.1.hum1 | 13.1.7-0.1.hum1 | Fixed |
| redhat/grafana13-2-main(Red Hat hummingbird 1) | < 13.2.3-0.1.hum1 | 13.2.3-0.1.hum1 | Fixed |
| redhat/hugo-main(Red Hat hummingbird 1) | < 0.168.0-0.1.hum1 | 0.168.0-0.1.hum1 | Fixed |
| getkin kin-openapi | = >= 0.136.0, < 0.143.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getkin kin-openapi(Go) | >= 0.136.0, < 0.143.0 | 0.143.0 |
| redhat/grafana13-2-main(Red Hat:hummingbird:1) | < 13.2.3-0.1.hum1 | 13.2.3-0.1.hum1 |
| redhat/grafana13-1-main(Red Hat:hummingbird:1) | < 13.1.7-0.1.hum1 | 13.1.7-0.1.hum1 |
| redhat/grafana12-4-main(Red Hat:hummingbird:1) | < 12.4.12-0.4.hum1 | 12.4.12-0.4.hum1 |
| redhat/hugo-main(Red Hat:hummingbird:1) | < 0.168.0-0.1.hum1 | 0.168.0-0.1.hum1 |
| getkin kin-openapi | = >= 0.136.0, < 0.143.0 | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-getkin-kin-openapi(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d patch
- github.com product
- https://github.com/getkin/kin-openapi/releases/tag/v0.143.0
- Red Hat CVE page vendor-advisory
- RHSA-2026:76430 patch vendor-advisory
- RHSA-2026:76448 patch vendor-advisory
- RHSA-2026:76677 patch vendor-advisory
- RHSA-2026:82637 patch vendor-advisory
- Red Hat Bugzilla 2553575 issue-tracking
- www.cve.org
- github.com exploit
- github.com
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-97394 vendor-advisory
- ENISA EUVD EUVD-2026-102143 third-party-advisory