Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M

CVE-2026-100351kin-openapi: ValidationHandler security-requirement bypass via encoded-path operation confusion

High 7.4

In plain English

A high-severity security flaw in kin-openapi from getkin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.5%top 57.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/getkin/kin-openapi0.147.0GHSA-23vg-4cjm-66q5
Gogithub.com/getkin/kin-openapi0.147.0GO-2026-6769
Ubuntu:22.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100351
Ubuntu:24.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100351
Ubuntu:26.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100351
Ubuntu:26.10golang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-100351

Affected products (as reported)

VendorProductVersions
getkin kin-openapi >= 0.144.0, < 0.147.0

Weakness: CWE-289, CWE-436 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References