CVE-2026-100350
CVE-2026-100350 · kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.5%
- Published
- Updated
Stack: system
Affected products and versions
kin-openapi
- Versions
- >= 0.145.0, < 0.146.0: Affected
No fix published
golang-github-getkin-kin-openapi Ubuntu:22.04:LTS
- Versions
- 0.32.0-2
- 0.80.0-1
- 0.85.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:24.04:LTS
- Versions
- 0.117.0-1
- 0.120.0-1
- 0.122.0-3
- 0.123.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:26.10
- Versions
- 0.124.0-1
- 0.135.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-getkin-kin-openapi Ubuntu:26.04:LTS
- Versions
- 0.124.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published