Skip to main content
← All vulnerabilities
CVE-2026-100351GHSA-23VG-4CJM-66Q5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.147.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • getkin kin-openapi

    From 0.144.0 · fixed in 0.147.0

  • github.com/getkin/kin-openapiGo

    From 0.144.0 · fixed in 0.147.0

References 3

GitHub · getkin/kin-openapi