Description
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.
Published: 2026-10-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service (nil-pointer panic)
Action: Patch
AI Analysis

Impact

The vulnerability in kin-openapi allows a nil pointer dereference when the loader resolves a self‑referential $ref inside additionalProperties. If an attacker supplies an OpenAPI document that references its own additionalProperties member, the loader will panic during the resolveComponent step, aborting the loading process. This constitutes a denial‑of‑service condition, classified as CWE‑476.

Affected Systems

The issue affects the getkin kin-openapi library for all releases prior to 0.145.0. Any installation of kin‑openapi that uses the openapi3.Loader to load specifications from an external source remains vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates medium severity. The EPSS score of less than 1% suggests a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The problem is triggered when an application that uses kin-openapi’s Loader processes a maliciously crafted OpenAPI document containing a self‑referential $ref within additionalProperties. The likely attack vector is an application that loads OpenAPI specifications from an external or untrusted source. If such a document reaches the resolveComponent step, the loader will panic, terminating the process and causing a denial of service.

Generated by OpenCVE AI on October 16, 2026 at 20:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to kin‑openapi v0.145.0 or newer
  • If an upgrade is not immediately possible, restrict the loader to only process trusted OpenAPI files or validate specifications before passing them to LoadFromData/LoadFromFile/LoadFromURI
  • Monitor the application for crashes related to this panic and ensure the service can recover or restart automatically

Generated by OpenCVE AI on October 16, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mh7x-f8wq-4jhx kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)
History

Fri, 23 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 15 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T15:44:17.041Z

Reserved: 2026-09-25T19:19:54.697Z

Link: CVE-2026-100348

cve-icon Vulnrichment

Updated: 2026-10-15T15:44:10.761Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T16:17:30.477

Modified: 2026-10-15T16:17:30.607

Link: CVE-2026-100348

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-15T15:31:19Z

Links: CVE-2026-100348 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:00:16Z

Weaknesses