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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getkin | kin-openapi | >= 0.145.0, < 0.146.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.12-0.4.hum1 | RHSA-2026:76677 |
| Red Hat Hardened Images 1 | hugo | 0.168.0-0.1.hum1 | RHSA-2026:82637 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | hugo | 0.168.0-2.1 | openSUSE-SU-2026:12164-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi | >= 0.145.0, < 0.146.0 | 0.146.0 | GHSA-h4r5-mxv5-8mjc |
Advisories 3
- RHSA-2026:76677 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:82637 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- openSUSE-SU-2026:12164-1 hugo-0.168.0-2.1 on GA media SUSE / openSUSE Security Updates · Oct 18, 2026