Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
getkin kin-openapi
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

kin-openapi 是一个用于处理 OpenAPI 文件的 Go 项目。在 0.148.0 版本之前,OpenAPI 3.1 的验证路径会将 YAML 中的 NaN(非数字)和无穷大(infinity)数值直接传递给 santhosh-tekuri/jsonschema v6.0.2,而未应用 kin-openapi 已有的有限数值保护机制。远程未认证攻击者可以向具有数值约束的操作发送包含 、 或 的 或 格式请求体,从而在 ValidateRequest 过程中导致该依赖库创建并解引用一个 nil 的 big

CVSS 7.5 · High EPSS 0.43% · P35

Affected Version Matrix 1

VendorProduct Version RangeStatus
getkin kin-openapi < 0.148.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-100352

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对因果或异常条件的不恰当检查
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
getkin kin-openapi < 0.148.0 -

II. Public POCs for CVE-2026-100352

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-100352

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-100352 (2)

Vendor Advisories for CVE-2026-100352 (1)

Same Patch Batch · getkin · 2026-10-15 · 9 CVEs total

CVE-2026-100349 8.2 HIGH kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header dec
CVE-2026-97394 7.5 HIGH kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas
CVE-2026-100353 7.5 HIGH kin-openapi: Incomplete Fix for GHSA-p6wj-qrr4-pgh5: Three Unpatched nil-Items Panic Paths
CVE-2026-100354 7.5 HIGH kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Pro
CVE-2026-100351 7.4 HIGH kin-openapi: ValidationHandler security-requirement bypass via encoded-path operation conf
CVE-2026-100348 5.3 MEDIUM kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointe
CVE-2026-100350 5.3 MEDIUM kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression
CVE-2026-100347 5.3 MEDIUM kin-openapi: Unauthenticated panic (DoS) in openapi3filter legacy router via non-canonical

IV. Related Vulnerabilities

V. Comments for CVE-2026-100352

No comments yet


Leave a comment