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

High 7.5 Published Updated

Remote attackers can cause a denial of service by sending YAML NaN or infinity values that bypass validation guards and trigger a panic in the kin-openapi library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-100352?

CVE-2026-100352 is a high-severity denial of service vulnerability in getkin kin-openapi, published on 15 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-754

Which versions are affected by CVE-2026-100352?

2 open source packages ship an affected version, including github.com/getkin/kin-openapi.

PackageAffectedFixed in
github.com/getkin/kin-openapi GoAll versions0.148.0
github.com/getkin/kin-openapi GoAll versions0.148.0

How do I fix CVE-2026-100352?

Upgrade github.com/getkin/kin-openapi to 0.148.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-100352 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100352 exists.

Sources

Also known as CLEANSTART-2026-MH48139, DEBIAN-CVE-2026-100352, ECHO-46ca-0724-4961, GHSA-rj39-cv6w-8wv7, MINI-2w9m-2h26-9rq8, MINI-2wgq-c2mw-54v8 and 25 more.

Is CVE-2026-100352 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free