Skip to main content
← All vulnerabilities
CVE-2026-100348GHSA-MH7X-F8WQ-4JHX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.145.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • getkin kin-openapi

    fixed in 0.145.0

  • github.com/getkin/kin-openapiGo

    fixed in 0.145.0

References 3

GitHub · getkin/kin-openapi