Findings

Vulnerability · CVE-2026-100352

kin-openapi is a Go project for handling OpenAPI files.

Published Oct 15, 2026 · corrected/updated Oct 15, 2026 · evidence confidence high

## Summary kin-openapi guards against and values in its built-in schema visitor ( ) by returning / when a input violates those constraints. For OAS 3.1 specs, however, routes through , which hands the value directly to v6.0.2 without applying the same guard. Inside v6.0.2, builds a from the input via . For / this parse fails silently and returns . then dereferences the nil (in ), producing a Go runtime panic. An attacker delivers this by sending an HTTP request with (or ) and a YAML body containing , , or . The decodes those tokens into / (standard YAML 1.2 behavior), and they propagate to the unguarded path whenever the schema declares a numeric constraint ( , , , , or ). ## Details ### Root Cause The built-in visitor at guards NaN/Inf explicitly: For OAS 3.1 specs, dispatches to ( ), which contains no such guard: calls (line 146), which reaches in v6.0.2. There, returns for / , and the code dereferences the in , causing the panic. ## Proof of Concept ### Environment - kin-openapi v0.144.0 (tag , commit ) - santhosh-tekuri/jsonschema/v6 v6.0.2 (transitive dep) - Go 1.26.7 ### Spec Minimal OAS 3.1 spec ( ) declaring a YAML body with a numeric constraint: ### Trigger A single with and body , , or . All three variants panic: ### Panic stack trace (confirms exact chain) ### net/http behavior (severity nuance) Behind a standard server, the panic is recovered per-connection. The client sees a dropped connection; the server process continues: This is a **recoverable panic**, unlike the recursion finding. catches it (verified by capturing the panic value in a in the same goroutine). Non- hosts or validation performed in an application-spawned goroutine are not covered by that recovery and would experience a full-process crash. ### Fix verification Upgrading only the transitive dependency to (via ) eliminates the panic entirely; all three payloads return a clean validation error: This confirms the upstream v6.0.3 release treats the NaN/Inf case as a bug and fixes it at the

Grounded briefings

Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.

Executive

CVE-2026-100352 is a high public vulnerability record for this product. It is not currently listed in the CISA Known Exploited catalog. Check the linked vendor or CERT advisories for patch status. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.

System administrator

Identify whether this product is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: github.com/getkin/kin-openapi (0 → 0.148.0); github.com/getkin/kin-openapi (< 0.148.0); github.com. Check the linked vendor or CERT advisories for patch status. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.

Security analyst

Signals on file: CVSS 7.5, EPSS 0.4%. It is not currently listed in the CISA Known Exploited catalog. Weakness classes: CWE-754. Sources contributing to this record: cve_org, epss, github, gitlab. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.

Exploitation and remediation

  • Exploitation evidence

    Not listed as known exploited in CISA KEV. Not in CISA KEV or VulnCheck KEV.

  • Patch and remediation

    No required-action text is stored yet. Use the vendor or CERT links in Sources for patch availability.

  • Safe detection guidance

    Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 15, 2026 · NIST NVD

    Detected

    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

  2. Oct 15, 2026 · NIST NVD

    Updated

    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

  3. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    github.com/getkin/kin-openapi fixed in 0.148.0

  4. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    github.com/getkin/kin-openapi fixed in 0.148.0

  5. Oct 15, 2026 · GitHub Advisory Database

    Updated

    ## Summary kin-openapi guards against and values in its built-in schema visitor ( ) by returning / when a input violates those constraints. For OAS 3.1 specs, however, routes through , which hands the value directly to v6.0.2 without applying the same guard. Inside v6.0.2, builds a from the input via . For / this parse fails silently and returns . then dereferences the nil (in ), producing a Go ru

Affected

  • Go github.com/getkin/kin-openapi0 → 0.148.0
  • go github.com/getkin/kin-openapi< 0.148.0
  • golang github.comversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-100352

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-100352

    30-day exploitation probability 0.4%

    first.org
  • GitHub Advisory DatabasePackage advisoryGHSA-rj39-cv6w-8wv7

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

    github.com
  • GitLab Advisory DatabasePackage advisoryCVE-2026-100352

    kin-openapi guards against NaN and Inf values in its built-in schema visitor (visitJSON) by returning ErrSchemaInputNaN / ErrSchemaInputInf when a float64 input violates those constraints. For OAS 3.1 specs, however, Schema.VisitJSON routes through useJSONSchema2020, which hands the value directly to santhosh-tekuri/jsonschema/v6 v6.0.2 without applying the same guard. Inside jsonschema/v6 v6.0.2,

    advisories.gitlab.com
  • NIST NVDVulnerability recordCVE-2026-100352

    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

    nvd.nist.gov
  • OpenSSF OSV / OSV ScannerPackage advisoryGHSA-rj39-cv6w-8wv7

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

    osv.dev

References