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

- 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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T15:54:25.834Z
- Modified: 2026-11-05T23:25:44.340Z
- Also known as: GHSA-rj39-cv6w-8wv7, GO-2026-6795
- Weaknesses: CWE-754
- 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. 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.

(As written by CVE List.)

## Affected

- getkin kin-openapi: < 0.148.0
- github.com/getkin/kin-openapi (Go): before 0.148.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/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7> (exploit, advisory, web)
- <https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.148.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100352> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

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

---

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