CVE-2026-100350
MEDIUM 5.3CVSS 3.1kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression
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.
- Published
- 15 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1050CWE-400CWE-770
- Also known as
- GHSA-h4r5-mxv5-8mjcGO-2026-6787
- Sources
- NVDJSONOSV GHSA-h4r5-mxv5-8mjcJSONOSV GO-2026-6787JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/getkin/kin-openapi | >= 0.145.0, < 0.146.0 | 0.146.0 |
References
- https://github.com/getkin/kin-openapi/commit/d090e36b2f1c42c898ba2a687a8f6e25f5ca727f · WEB, FIX
- https://github.com/getkin/kin-openapi/releases/tag/v0.146.0 · WEB
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-h4r5-mxv5-8mjc · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-100350 · ADVISORY
- https://github.com/getkin/kin-openapi · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Oct 2026)