Cloudanix VulnDB

CVE-2026-76905

High · 7.5

CVSS

7.5

EPSS

0.6%

Published

Aug 21, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in a library that checks web request formats lets attackers crash servers by sending specially crafted file-upload style requests.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Nil pointer dereference in openapi3filter.convertParseError when handling a nested ParseError from a malformed non-string scalar field in a multipart/form-data body, causing an unhandled panic in ConvertErrors or ValidationErrorEncoder.

Why it matters to the business

Repeated unauthenticated requests can crash the service process, leading to denial of service and operational downtime for any application exposing the affected validation paths without a recovery boundary.

How an attack unfolds

An attacker crafts a multipart/form-data request containing a non-string scalar value in a parameter field, triggering a ParseError with a nil Parameter during validation error encoding; the missing nil check then causes a panic that terminates the request handler.

How to fix it

Upgrade kin-openapi to version 0.141.0 or later. Wrap validation error handling with a Go recovery middleware. Avoid rendering validation errors for multipart bodies if the helpers cannot be updated.

How to confirm the fix worked

Confirm the kin-openapi module version is at least 0.141.0. Replay a malformed multipart request containing a non-string scalar and verify the handler no longer panics.

Typical attack path

  1. Send a crafted multipart/form-data POST or PUT request containing a non-string scalar in a defined parameter
  2. Trigger openapi3filter validation that produces a nested ParseError with nil RequestError.Parameter
  3. Invoke ConvertErrors or ValidationErrorEncoder on the error path
  4. Dereference the nil Parameter field and panic the handler
  5. Repeat to sustain denial of service

How to detect it

Search application logs and crash dumps for repeated panics originating from openapi3filter/validation_error_encoder.go or ConvertErrors during multipart parsing; correlate with 4xx/5xx responses on form endpoints.

What your security team should do

  • Immediately upgrade all instances of kin-openapi to 0.141.0
  • Add panic recovery middleware around OpenAPI validation handlers
  • Disable or sanitize multipart validation error rendering until patched
  • Monitor EPSS trend and re-evaluate exploit maturity weekly

The record

kin-openapi is a Go project for handling OpenAPI files. From 0.10.0 until 0.141.0, openapi3filter.convertParseError in openapi3filter/validation_error_encoder.go dereferences e.Parameter.In without checking whether e.Parameter is nil. A malformed non-string scalar field in a multipart/form-data request body produces a nested ParseError with a nil RequestError.Parameter, and applications that render the validation error through openapi3filter.ConvertErrors or ValidationErrorEncoder panic. An unauthenticated client can repeatedly send such requests to deny service when the application lacks a recovery boundary. JSON request bodies and applications that do not use these error-rendering helpers are not affected. This issue is fixed in version 0.141.0.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities