---
id: CVE-2026-100351
title: kin-openapi is a Go project for handling OpenAPI files
summary: >-
  kin-openapi is a Go project for handling OpenAPI files. From 0.144.0 until
  0.147.0, openapi3filter.ValidationHandler validates an operation selected from
  decoded URL.Path while a downstream gorilla/mux router configured with
  UseEncodedPa…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-289
  - CWE-436
vendor: getkin
product: kin-openapi
affected:
  - 'kin-openapi >= 0.144.0, < 0.147.0'
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T17:17:07.520'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100351'
references:
  - url: >-
      https://github.com/getkin/kin-openapi/commit/eda80e2676e9f577ceed2dd80e64f16083edb041
    label: security-advisories@github.com
  - url: 'https://github.com/getkin/kin-openapi/releases/tag/v0.147.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/getkin/kin-openapi/security/advisories/GHSA-23vg-4cjm-66q5
    label: security-advisories@github.com
  - url: >-
      https://github.com/getkin/kin-openapi/security/advisories/GHSA-23vg-4cjm-66q5
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100351'
  - url: 'https://github.com/advisories/GHSA-23vg-4cjm-66q5'
  - url: 'https://github.com/getkin/kin-openapi'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100351.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-100351'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2553587'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-100351'
  - 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
  - exploit-available
  - ghsa
  - go
  - osv
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T16:09:06.679638Z'
ingestedAt: '2026-10-15T16:13:10.881Z'
aliases:
  - GHSA-23vg-4cjm-66q5
ecosystem: go
patched:
  - github.com/getkin/kin-openapi 0.147.0
epss: 0.00488
epssPercentile: 0.41836
---

## Overview

kin-openapi is a Go project for handling OpenAPI files. From 0.144.0 until 0.147.0, openapi3filter.ValidationHandler validates an operation selected from decoded URL.Path while a downstream gorilla/mux router configured with UseEncodedPath can dispatch a different operation selected from URL.RawPath. When a public exact route and a protected parameterized route use the same method and overlap after decoding, an unauthenticated remote request containing an encoded path separator can be validated as public and then dispatched to the protected handler without invoking the configured AuthenticationFunc. The reachable path parameter is constrained to an encoded representation that decodes to the public literal route, and proxies that canonicalize the URI before forwarding prevent this specific mismatch. This issue is fixed in version 0.147.0.

## Remediation

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

## Package advisory (CVE-2026-100351)

Affected packages:

- `github.com/getkin/kin-openapi >= 0.144.0, < 0.147.0`

Patched in:

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

Source: https://github.com/advisories/GHSA-23vg-4cjm-66q5

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