CVE-2026-100349: kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content in github.com/getkin/kin-openapi
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-74vm-87hj-r66f, GO-2026-6804
Summary
The kin-openapi library contains a nil-pointer panic vulnerability within the ValidateResponse function when processing response headers declared with content. Developers using github.com/getkin/kin-openapi versions prior to 0.146.0 should update their dependencies to prevent service crashes.
Who is affected
This vulnerability affects applications utilizing the kin-openapi library to perform response validation. A crash is triggered when a response header is explicitly declared with content, causing the validation logic to attempt a nil-pointer dereference. This can result in a denial-of-service condition for the affected service.
Exploitability
The vulnerability's severity and CVSS vector are not documented, preventing a precise risk assessment. With an EPSS score of 0.005, there is a low observed probability of exploitation in the wild, and the issue is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/getkin/kin-openapi to version 0.146.0 or later.
- Run 'go mod tidy' after updating the dependency to ensure the project environment is synchronized.
How to check your project
- Check go.mod or go.sum files for a version of github.com/getkin/kin-openapi earlier than 0.146.0.
- Use 'go list -m github.com/getkin/kin-openapi' to verify the current installed version in your build environment.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi |
>= 0, < 0.146.0 | 0.146.0 | go get github.com/getkin/[email protected] |
FAQ
Is this vulnerability actively being exploited?
No, it is not listed in the CISA Known Exploited Vulnerabilities database, and the EPSS score indicates a very low likelihood of active exploitation.
What specifically triggers the panic?
The panic occurs during the ValidateResponse process when a response header is encountered that includes a content declaration.
Are there any workarounds if I cannot update immediately?
Not documented.
Original advisory description
References
- ADVISORY https://github.com/getkin/kin-openapi/security/advisories/GHSA-74vm-87hj-r66f
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-100349
- FIX https://github.com/getkin/kin-openapi/commit/f5441d67f855ed34d975b3b85665764644ab1459
- WEB https://github.com/getkin/kin-openapi/releases/tag/v0.146.0
Source records: GO-2026-6804 (OSV.dev) · EPSS by FIRST, 2026-11-21.