Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-100348 EUVD-2026-102151GHSA-mh7x-f8wq-4jhxGO-2026-6789

kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)

Published Oct 15, 2026 · Updated Oct 15, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
getkin kin-openapi < 0.145.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-getkin-kin-openapi No fix yet —
Debian 13 golang-github-getkin-kin-openapi No fix yet —
Debian 12 golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-getkin-kin-openapi No fix yet —
Ubuntu 26.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 24.04 LTS golang-github-getkin-kin-openapi No fix yet —
Ubuntu 22.04 LTS golang-github-getkin-kin-openapi No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.12-0.4.hum1 RHSA-2026:76677
Red Hat Hardened Images 1 grafana13.2 13.2.3-0.3.hum1 RHSA-2026:85266
Red Hat Hardened Images 1 hugo 0.168.0-0.1.hum1 RHSA-2026:82637
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hugo 0.168.0-2.1 openSUSE-SU-2026:12164-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling crossplane-provider-aws-ec2 +6 2.9.0-r3 —
Wolfi rolling crossplane-provider-aws-s3 +8 2.9.0-r4 —
Wolfi rolling crossplane-provider-aws-sns +1 2.9.0-r5 —
Wolfi rolling crossplane-provider-azure-sql +4 2.8.0-r3 —
Wolfi rolling crossplane-provider-keycloak 3.2.2-r1 —
Wolfi rolling gitness 3.3.0-r43 —
Wolfi rolling grafana-12.3 12.3.11-r11 —
Wolfi rolling grafana-13.0 13.0.11-r3 —
Wolfi rolling kubevela-vela-cli +1 1.11.0-r21 —
Wolfi rolling nuclei 3.11.1-r12 —
Wolfi rolling terraform-provider-grafana 4.50.0-r1 —
Wolfi rolling terraform-provider-kubernetes No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/getkin/kin-openapi < 0.145.0 0.145.0 GHSA-mh7x-f8wq-4jhx

Advisories 4

References