CVE-2026-100348 PUBLISHED

kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)

Assigner: GitHub_M
Reserved: 25.09.2026 Published: 15.10.2026 Updated: 15.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 5.3

Product Status

Vendor getkin
Product kin-openapi
Versions
  • Version < 0.145.0 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE