Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-100350

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100350

kin-openapi

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "getkin",
    "product": "kin-openapi",
    "versions": [
      {
        "status": "affected",
        "version": ">= 0.145.0, < 0.146.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-100350

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#30024 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement