---
id: CVE-2026-100349
title: kin-openapi is a Go project for handling OpenAPI files
summary: >-
  kin-openapi is a Go project for handling OpenAPI files. Prior to 0.146.0,
  openapi3filter.ValidateResponse passes a nil response header schema to
  decodeValue when an OpenAPI document declares the header with content instead
  of schema. The…
severity: high
cvss: 8.2
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'
cwe:
  - CWE-476
vendor: getkin
product: kin-openapi
affected:
  - kin-openapi < 0.146.0
patched:
  - github.com/getkin/kin-openapi 0.146.0
published: '2026-10-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T18:17:10.350'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100349'
references:
  - url: >-
      https://github.com/getkin/kin-openapi/commit/f5441d67f855ed34d975b3b85665764644ab1459
    label: security-advisories@github.com
  - url: 'https://github.com/getkin/kin-openapi/releases/tag/v0.146.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/getkin/kin-openapi/security/advisories/GHSA-74vm-87hj-r66f
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100349.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-100349'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2553589'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-100349'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100349'
  - url: 'https://github.com/advisories/GHSA-74vm-87hj-r66f'
  - url: 'https://github.com/getkin/kin-openapi'
  - url: 'https://access.redhat.com/errata/RHSA-2026:76677'
  - url: 'https://access.redhat.com/errata/RHSA-2026:85266'
  - url: 'https://access.redhat.com/errata/RHSA-2026:82637'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - ghsa
  - go
  - osv
epss: 0.00372
epssPercentile: 0.30927
aliases:
  - GHSA-74vm-87hj-r66f
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T20:24:40.290069Z'
cvssSource: cna
scores:
  cna: 8.2
  vendor: 7.5
ingestedAt: '2026-10-15T16:13:10.930Z'
---

## Overview

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.146.0, openapi3filter.ValidateResponse passes a nil response header schema to decodeValue when an OpenAPI document declares the header with content instead of schema. The document passes validation, but every response validation for the affected operation dereferences the nil schema and panics even when the response does not contain the declared header. Applications that ingest an untrusted specification can expose this as remote availability impact, while applications using only trusted local specifications still crash when the affected operation is exercised. This issue is fixed in version 0.146.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-100349)

Affected packages:

- `github.com/getkin/kin-openapi <= 0.145.0`

Patched in:

- `github.com/getkin/kin-openapi 0.146.0`

Source: https://github.com/advisories/GHSA-74vm-87hj-r66f

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Hardened Images · no fix planned: Red Hat Hardened Images · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100349.json)
- **RHSA-2026:76677** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:76677)
- **RHSA-2026:85266** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:85266)
- **RHSA-2026:82637** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82637)
