Skip to content
OpenAdvisories
High · 7.5 CVE-2026-100352 EUVD-2026-102161GHSA-rj39-cv6w-8wv7GO-2026-6795

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

Published Oct 15, 2026 · Updated Oct 20, 2026 · 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.

Affected products

VendorProductAffectedFixed
getkin kin-openapi < 0.148.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-getkin-kin-openapi No fix yet —
Debian 13 golang-github-getkin-kin-openapi No fix yet —
Debian 12 golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-getkin-kin-openapi No fix yet —
Ubuntu 26.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 24.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 22.04 LTS golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana13.2 13.2.3-0.3.hum1 RHSA-2026:85266
Red Hat Hardened Images 1 hugo 0.168.0-0.1.hum1 RHSA-2026:82637
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hugo 0.168.0-2.1 openSUSE-SU-2026:12164-1
openSUSE Tumbleweed timoni 0.36.0-1.1 openSUSE-SU-2026:12309-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling crossplane-provider-aws-eks +4 2.9.0-r5 —
Wolfi rolling crossplane-provider-aws-s3 +10 2.9.0-r4 —
Wolfi rolling crossplane-provider-aws-sns +1 2.9.0-r6 —
Wolfi rolling crossplane-provider-azure-sql +4 2.8.0-r4 —
Wolfi rolling crossplane-provider-keycloak 3.2.2-r1 —
Wolfi rolling gitness 3.3.0-r44 —
Wolfi rolling grafana-12.3 12.3.11-r12 —
Wolfi rolling grafana-12.4 12.4.13-r2 —
Wolfi rolling grafana-13.0 13.0.11-r4 —
Wolfi rolling kubevela-vela-cli +1 1.11.0-r22 —
Wolfi rolling nuclei 3.11.1-r13 —
Wolfi rolling terraform-provider-grafana 4.50.0-r1 —
Wolfi rolling timoni 0.35.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/getkin/kin-openapi < 0.148.0 0.148.0 GHSA-rj39-cv6w-8wv7

Advisories 4

References