CVE-2025-30153getkin kin-openapi
High 7.5 No auth needed
Follow: this CVE · getkin · getkin kin-openapi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 19, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-409
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for kin-openapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi |
< 0.131.0 |
0.131.0 |
go get github.com/getkin/kin-openapi@v0.131.0 |
| Go | github.com/getkin/kin-openapi |
< 0.131.0 |
0.131.0 |
go get github.com/getkin/kin-openapi@v0.131.0 |
Per OSV / GitHub Advisories (GHSA-wq9g-9vfc-cfq9, GO-2025-3533). Check the version in your lockfile before upgrading.
Affected products
- getkin · kin-openapi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for grafana · SUSE · SUSE-SU-2026:3718-1 · Aug 24, 2026 Critical
- Security update for grafana · SUSE · openSUSE-SU-2026:20940-1 · Jun 10, 2026 Critical
- grafana-11.6.14+security01-4.1 on GA media · SUSE · openSUSE-SU-2026:10922-1 · Jun 1, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.