CVE-2026-100350 Details
Description
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.
A denial-of-service vulnerability has been identified in Kin-OpenAPI versions 0.145.0 prior to 0.146.0. The issue arises in the openapi3filter component, where a loop-invariant regular expression is repeatedly recompiled for each query key in deepObject-style parameters. This flaw allows an unauthenticated remote client to send requests with a high number of unrelated query keys, causing excessive CPU usage and memory allocations during request validation. The vulnerability is not related to regular expression denial-of-service, as the pattern matches in linear time; instead, it stems from the unnecessary recompilation of the regular expression, which can be exploited to degrade or disrupt service.
Users can upgrade to Kin-OpenAPI version 0.146.0 or later, where this vulnerability has been fixed. Alternatively, as a temporary measure, affected endpoints can be fronted with a reverse proxy or middleware that limits request size or the number of query keys, thereby reducing the potential impact of the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getkin/kin-openapi/security/advisories/GHSA-h4r5-mxv5-8mjc | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/getkin/kin-openapi/commit/d090e36b2f1c42c898ba2a687a8f6e25f5ca727f | [email protected] | Source CodeVendor |
| https://github.com/getkin/kin-openapi/releases/tag/v0.146.0 | [email protected] | Release NotesVendor |
| https://github.com/getkin/kin-openapi/security/advisories/GHSA-h4r5-mxv5-8mjc | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1050 | Excessive Platform Resource Consumption within a Loop | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kin-openapi | >= v0.145.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion