Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.131.0, when validating a request with a multipart/form-data schema, if the OpenAPI schema allows it, an attacker can upload a crafted ZIP file (e.g., a ZIP bomb), causing the server to consume all available system memory. The root cause comes from the ZipFileBodyDecoder, which is registered automatically by the module (contrary to what the documentation says). This vulnerability is fixed in 0.131.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| getkin | kin-openapi | before 0.131.0 | 0.131.0 | Patch available | CNA |
| — | github.com/getkin/kin-openapi (Go) | before 0.131.0 | 0.131.0 | Patch available | GHSA-wq9g-9vfc-cfq9 |
- kin-openapi Vendorgetkin Affected before 0.131.0 Fixed in 0.131.0 Patch available CNA
- github.com/getkin/kin-openapi (Go) Vendor— Affected before 0.131.0 Fixed in 0.131.0 Patch available GHSA-wq9g-9vfc-cfq9
Remediation
- Fix · CNA kin-openapi (getkin) Fixed in 0.131.0
- Fix · GHSA-wq9g-9vfc-cfq9 github.com/getkin/kin-openapi (Go) Fixed in 0.131.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:22689 Released 2026-06-02 · Red Hat rating Importantmulticluster engine for Kubernetes v2.8.7 security update
- multicluster engine for Kubernetes 2.8 registry.redhat.io/multicluster-engine/cluster-proxy-addon-rhel9, registry.redhat.io/multicluster-engine/managedcluster-import-controller-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Edge Manager preview | Affected | No fix yet |
| multicluster engine for Kubernetes 2.8 | Fixed | RHSA-2026:22689 |
Not affected: 5 products
- Red Hat Edge Manager preview
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- multicluster engine for Kubernetes 2.8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-30153
- 2026-10-03 Alias added: GHSA-wq9g-9vfc-cfq9
- 2026-11-07 EPSS moved to the 50th–90th percentile
References
Other 7
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9
- https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse
- https://github.com/getkin/kin-openapi/pull/1059
- https://github.com/getkin/kin-openapi
More getkin vulnerabilities
- TI-2026-51613 kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default CVSS 3.1CRITICAL 9.1
- TI-2026-53976 kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding CVSS 4.0HIGH 8.7
- TI-2026-74664 Nil pointer panic in kin-openapi openapi3filter decoding CVSS 3.1HIGH 7.5
- TI-2026-74663 YAML NaN and Inf values cause panic in kin-openapi validation CVSS 3.1HIGH 7.5
- TI-2026-74661 kin-openapi nil pointer panic in openapi3filter on array schemas without items CVSS 3.1HIGH 7.5
- TI-2026-74657 Uncontrolled recursion in kin-openapi crashes the process CVSS 3.1HIGH 7.5
Sources
- CVE-2025-30153 · CVE Program
- CVE-2025-30153 · NVD
- FIRST EPSS
- GHSA-wq9g-9vfc-cfq9 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-30153 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences