CVE-2026-100352
HIGH 7.5CVSS 3.1kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
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.
- Published
- 15 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-754
- Also known as
- GHSA-rj39-cv6w-8wv7GO-2026-6795
- Sources
- NVDJSONOSV GHSA-rj39-cv6w-8wv7JSONOSV GO-2026-6795JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/getkin/kin-openapi | < 0.148.0 | 0.148.0 |
References
- https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e · WEB, FIX
- https://github.com/getkin/kin-openapi/releases/tag/v0.148.0 · WEB
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-100352 · ADVISORY
- https://github.com/getkin/kin-openapi · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Oct 2026)