CVE-2026-100348: kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS) in github.com/getkin/kin-openapi
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-mh7x-f8wq-4jhx, GO-2026-6789
Summary
CVE-2026-100348 is a nil-pointer denial-of-service vulnerability in github.com/getkin/kin-openapi where the spec loader panics on a self-referential additionalProperties $ref. Teams maintaining Go applications that depend on github.com/getkin/kin-openapi prior to version 0.145.0 should upgrade to 0.145.0.
Who is affected
Go deployments using github.com/getkin/kin-openapi versions from 0 up to but excluding 0.145.0 are affected. Successful triggering requires the spec loader to process a specification containing a self-referential additionalProperties $ref, which causes a nil-pointer panic and denial of service. Broader impact metrics, including CVSS severity and CWE classification, are not documented in this record.
Exploitability
The CVSS vector and base score are not provided, and severity is marked as unknown. The EPSS score is 0.004 at the 0.317 percentile. The vulnerability is not present in the CISA Known Exploited Vulnerabilities catalog, so active exploitation is not indicated.
Remediation
- Update the Go dependency github.com/getkin/kin-openapi to fixed version 0.145.0.
- Update dependency lockfiles (go.mod and go.sum), then rebuild and redeploy affected Go services.
How to check your project
- Check go.mod or run 'go list -m github.com/getkin/kin-openapi' to verify whether the project uses a version earlier than 0.145.0.
- Audit dependency manifests or vulnerability scan results for identifiers CVE-2026-100348, GHSA-mh7x-f8wq-4jhx, or GO-2026-6789.
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.145.0 | 0.145.0 | go get github.com/getkin/[email protected] |
FAQ
Which versions of github.com/getkin/kin-openapi are affected and fixed?
Versions of github.com/getkin/kin-openapi introduced from 0 prior to 0.145.0 are affected, and the issue is fixed in version 0.145.0.
What are the CVSS score, severity, and CWE for CVE-2026-100348?
The severity is listed as unknown, and the CVSS vector, CVSS base score, and CWE are not documented in this record.
Is there active exploitation or a documented workaround?
Active exploitation is not indicated because CISA KEV status is no, and no workarounds are documented outside of upgrading to 0.145.0.
Original advisory description
References
- ADVISORY https://github.com/getkin/kin-openapi/security/advisories/GHSA-mh7x-f8wq-4jhx
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-100348
- FIX https://github.com/getkin/kin-openapi/commit/88aa64c7cbd03ecadbb419c473bdcaa8b0124c6b
- WEB https://github.com/getkin/kin-openapi/releases/tag/v0.145.0
Source records: GO-2026-6789 (OSV.dev) · EPSS by FIRST, 2026-11-26.