Vulnerability · CVE-2026-100350
kin-openapi is a Go project for handling OpenAPI files.
Published Oct 15, 2026 · catalog updated Oct 15, 2026 · kin-openapi is a Go
Check if you run it
No confirmed exploitation is on record for CVE-2026-100350. EPSS is 0.45%. Act only if a listed version of kin-openapi is a Go is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (kin-openapi is a Go).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium5.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.45%
- Remediation
- Version ranges on file
- Affected products
- Go github.com/getkin/kin-openapi · go github.com/getkin/kin-openapi · golang github.com
### Summary decodes -style query parameters by looping over **every** key in the request's query string. Inside that loop it recompiles a **loop-invariant** regular expression on every iteration. The pattern depends only on the spec-defined parameter name, not on the loop variable, so it is compiled times for query keys instead of once. Because the number of query keys is attacker-controlled and unbounded, a single request with many junk query keys forces a proportional number of calls, consuming CPU. A handful of concurrent requests can saturate all cores — an uncontrolled-resource-consumption denial of service. This is **not** ReDoS: the pattern is fixed ( ) and matches in linear time. The cost is the **repeated compilation** of an invariant regexp, once per attacker-supplied query key. ### Details In , the branch of builds a per-parameter property map by iterating over all query keys: The regexp built at depends only on — the parameter name defined in the OpenAPI spec — which is **constant** for the whole loop. Yet is invoked inside the loop at , so it is recompiled once for every key present in the query string. Contrast this with the already-hoisted, package-level regexp used two lines below: is compiled exactly once at package init and reused. The per-parameter pattern at should be compiled the same way (once, outside the loop), but instead is rebuilt on every iteration. costs on the order of a few microseconds per call. The number of iterations equals the number of query keys , which the client fully controls (a ~1 MB URL holds roughly 100k keys). For each parameter defined on the matched route, the request performs compilations. The work is CPU-bound, happens during request validation before any handler logic, and scales linearly with request size, so an attacker converts cheap request bytes into expensive server CPU. Affected code path: → → → (the case). Any operation with at least one , parameter is exploitable. ### PoC The following self-contained test (p
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Go github.com/getkin/kin-openapi0.145.0 → 0.146.0
- go github.com/getkin/kin-openapi>= 0.145.0, < 0.146.0
- golang github.comversion unspecified
How to fix CVE-2026-100350
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-100350. EPSS is 0.45%. Act only if a listed version of kin-openapi is a Go is installed.
Which versions are affected?
Compare what you have installed with 0.145.0 → 0.146.0, >= 0.145.0, < 0.146.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-1050; CWE-400: Uncontrolled Resource Consumption; CWE-770: Allocation of Resources Without Limits or Throttling. EPSS 0.45%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 15, 2026 · NIST NVD
Detected
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,
Oct 15, 2026 · NIST NVD
Updated
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,
Oct 15, 2026 · NIST NVD
Updated
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,
Oct 15, 2026 · GitHub Advisory Database
Fix available
github.com/getkin/kin-openapi fixed in 0.146.0
Oct 15, 2026 · GitHub Advisory Database
Fix available
github.com/getkin/kin-openapi fixed in 0.146.0
Oct 15, 2026 · GitHub Advisory Database
Updated
### Summary decodes -style query parameters by looping over **every** key in the request's query string. Inside that loop it recompiles a **loop-invariant** regular expression on every iteration. The pattern depends only on the spec-defined parameter name, not on the loop variable, so it is compiled times for query keys instead of once. Because the number of query keys is attacker-controlled and u
Sources
- CVE.orgVulnerability recordCVE-2026-100350
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-100350
30-day exploitation probability 0.5%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-h4r5-mxv5-8mjc
kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-100350
openapi3filter decodes deepObject-style query parameters by looping over every key in the request's query string. Inside that loop it recompiles a loop-invariant regular expression on every iteration. The pattern depends only on the spec-defined parameter name, not on the loop variable, so it is compiled N times for N query keys instead of once. Because the number of query keys is attacker-control
advisories.gitlab.com - NIST NVDVulnerability recordCVE-2026-100350
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 p
nvd.nist.gov - OpenSSF OSV / OSV ScannerPackage advisoryGHSA-h4r5-mxv5-8mjc
kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression
osv.dev
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.