CVE-2026-100348kin-openapi spec loader panics on a self-referential additionalProperties $ref…
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3.Loader can dereference a nil SchemaRef.Value while resolving a self-referential additionalProperties JSON Reference such as a schema that points to its own additionalProperties member. Loading an attacker-controlled OpenAPI document through LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent before document validation and can panic the loading process. Resolved additionalProperties schemas and ordinary recursive schemas do not take the vulnerable nil-value path. This issue is fixed in version 0.145.0.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-getkin-kin-openapi | Fix pending | UBUNTU-CVE-2026-100348 | |
| Ubuntu 26.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100348 | |
| Ubuntu 24.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100348 | |
| Ubuntu 22.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100348 | |
| Debian 14 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100348 | |
| Debian 13 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100348 | |
| Debian 12 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100348 | |
| Go library | github.com/getkin/kin-openapi | Fixed | 0.145.0 | GHSA-mh7x-f8wq-4jhx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- getkin kin-openapi: affected: < 0.145.0
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-mh7x-f8wq-4jhx
- https://github.com/getkin/kin-openapi/commit/88aa64c7cbd03ecadbb419c473bdcaa8b0124c6b
- https://github.com/getkin/kin-openapi/releases/tag/v0.145.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.