一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月16日

CVE-2026-100348 [MEDIUM] – kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3.Loader

未分类
📑 文章目录

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3.Loader can dereference a nil SchemaRef.Value while resolving a self-referential additionalProperties JSON Reference such as a schema that points to its own additionalProperties member. Loading an attacker-controlled OpenAPI document through LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent before document validation and can panic the loading process. Resolved additionalProperties schemas and ordinary recursive schemas do not take the vulnerable nil-value path. This issue is fixed in version 0.145.0.