Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity security flaw in kin-openapi from getkin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 51.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100352
Debian:13golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100352
Debian:14golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-100352
Gogithub.com/getkin/kin-openapi0.148.0GHSA-rj39-cv6w-8wv7
Gogithub.com/getkin/kin-openapi0.148.0GO-2026-6795
Ubuntu:22.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100352
Ubuntu:24.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100352
Ubuntu:26.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100352
Ubuntu:26.10golang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100352

Affected products (as reported)

VendorProductVersions
getkin kin-openapi < 0.148.0

Weakness: CWE-754 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References