CVE-2026-100352 kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
HighCVSS 7.5
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and infinity numeric values to santhosh-tekuri/jsonschema v6.0.2 without applying kin-openapi's existing finite-number guards. A remote unauthenticated client can send an application/yaml or application/x-yaml request body containing .nan, .inf, or -.inf to an operation with a numeric constraint, causing the dependency to create and dereference a nil big.Rat during ValidateRequest. Standard net/http servers recover the panic per connection, while other hosts or application goroutines may terminate the process. This issue is fixed in version 0.148.0.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getkin kin-openapi(Go) | < 0.148.0 | 0.148.0 |
| redhat/hugo-main(Red Hat:hummingbird:1) | < 0.168.0-0.1.hum1 | 0.168.0-0.1.hum1 |
| redhat/grafana13-2-main(Red Hat:hummingbird:1) | < 13.2.3-0.3.hum1 | 13.2.3-0.3.hum1 |
| redhat/grafana13-1-main(Red Hat:hummingbird:1) | < 13.1.8-0.3.hum1 | 13.1.8-0.3.hum1 |
| redhat/grafana12-4-main(Red Hat:hummingbird:1) | < 12.4.13-0.4.hum1 | 12.4.13-0.4.hum1 |
| redhat/grafana12-4-main(Red Hat:hummingbird:1) | < 12.4.13-0.5.hum1 | 12.4.13-0.5.hum1 |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| getkin kin-openapi | = < 0.148.0 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | All versions | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.110.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.117.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.118.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.120.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-2 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.122.0-3 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.123.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.124.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:12) | = 0.135.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | All versions | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | = 0.124.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:13) | = 0.135.0-1 | No fix listed |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/golang-github-getkin-kin-openapi(Debian:14) | All versions | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:14) | = 0.124.0-1 | No fix listed |
| debian/golang-github-getkin-kin-openapi(Debian:14) | = 0.135.0-1 | 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-rj39-cv6w-8wv7 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e patch
- github.com product
- https://github.com/getkin/kin-openapi/releases/tag/v0.148.0
- Red Hat CVE page vendor-advisory
- RHSA-2026:82637 patch vendor-advisory
- RHSA-2026:85266 patch vendor-advisory
- RHSA-2026:87077 patch vendor-advisory
- RHSA-2026:90388 patch vendor-advisory
- RHSA-2026:91292 patch vendor-advisory
- Red Hat Bugzilla 2553588 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-100352 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory