Skip to main content
← All vulnerabilities
CVE-2026-100350GHSA-H4R5-MXV5-8MJC

kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression

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

Summary

kin-openapi is a Go project for handling OpenAPI files. From 0.145.0 until 0.146.0, openapi3filter repeatedly calls regexp.MustCompile for the same parameter-name regular expression inside the per-query-key loop in urlValuesDecoder.DecodeObject used to decode a deepObject query parameter. An unauthenticated remote client can send an affected endpoint a request containing many unrelated query keys, causing ValidateRequest to perform work and allocations proportional to the attacker-controlled key count for every deepObject parameter. The expression itself is fixed and this is not regular expression denial of service; the resource consumption comes from loop-invariant recompilation. This issue is fixed in version 0.146.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • getkin kin-openapi

    From 0.145.0 · fixed in 0.146.0

  • github.com/getkin/kin-openapiGo

    From 0.145.0 · fixed in 0.146.0

References 3

GitHub · getkin/kin-openapi