Description
kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. This issue is fixed in version 0.144.0.
Published: 2026-08-18
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A nil pointer dereference in the openapi3filter.ValidateRequest routine causes a panic when an OpenAPI operation declares a content parameter whose application/json media type has no schema. The panic aborts the current request, can overwhelm logs in the synchronous net/http path, and may crash the entire process in applications that lack panic recovery. The result is a denial of service that a malicious actor can trigger with a single unauthenticated request containing such a parameter value.

Affected Systems

The vulnerability affects the Go library getkin/kin-openapi, specifically the openapi3filter component. All releases from version 0.2.0 up to but excluding 0.144.0 are susceptible. Projects that import this library to validate OpenAPI requests, including microservices and API gateways that rely on kin-openapi, must review the versions they use.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity risk. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, yet the flaw can be exploited by any unauthenticated client that submits a normal HTTP request containing an application/json content parameter without a schema. The attacker does not need special privileges or authentication, and the side effect can be immediate termination of the service or a disruptive log growth, making it a practical threat for exposed APIs.

Generated by OpenCVE AI on August 18, 2026 at 20:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kin-openapi library to version 0.144.0 or later to apply the official fix.
  • Wrap the call to openapi3filter.ValidateRequest in a recovery block that catches panics so the overall process does not terminate if the library stops unexpectedly.
  • If upgrading is not immediately possible, replace the defaultContentParameterDecoder with a custom implementation that first checks mt.Schema for nil before dereferencing, or modify the OpenAPI definition to include a schema for the problematic media type.

Generated by OpenCVE AI on August 18, 2026 at 20:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jpcw-4wr7-c3vq kin-openapi openapi3filter: unauthenticated nil-pointer panic when validating a request against a `content` parameter whose media type has no schema
History

Tue, 18 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. This issue is fixed in version 0.144.0.
Title kin-openapi openapi3filter: unauthenticated nil-pointer panic when validating a request against a `content` parameter whose media type has no schema
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T18:42:16.744Z

Reserved: 2026-08-12T19:00:33.736Z

Link: CVE-2026-73502

cve-icon Vulnrichment

Updated: 2026-08-18T18:42:12.808Z

cve-icon NVD

Status : Received

Published: 2026-08-18T18:19:33.460

Modified: 2026-08-18T19:17:03.923

Link: CVE-2026-73502

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T20:15:04Z

Weaknesses