Skip to main content
CVE-2026-100352VulnerabilityPublished Updated

Golang github getkin kin openapi: Prior to 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and infinity

Affects golang-github-getkin-kin-openapiSource GCVE Database

0
Authoritative record:CVE-2026-100352· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 0.148.0 : patch golang-github-getkin-kin-openapi soon.

Data as of 28 Oct 2026, 22:30 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.148.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-github-getkin-kin-openapipkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=stonkingOther threatsAffected
  • =0.124.0-1
  • =0.135.0-1
Fixed in–
Ubuntu 26.04 LTSgolang-github-getkin-kin-openapipkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=resoluteOther threatsAffected
  • =0.124.0-1
Fixed in–
Ubuntu 24.04 LTSgolang-github-getkin-kin-openapipkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=nobleOther threatsAffected
  • 0.117.0-1 – 0.123.0-1
4 affected builds
Fixed in–
Ubuntu 22.04 LTSgolang-github-getkin-kin-openapipkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=jammyOther threatsAffected
  • =0.32.0-2
  • =0.80.0-1
  • =0.85.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…