CVE-2026-73501

kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default

Published Aug 12, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.144.0, ValidationHandler.Load() in openapi3filter/validation_handler.go silently replaces a nil AuthenticationFunc with NoopAuthenticationFunc, which returns nil without checking credentials. This substitution causes every OpenAPI security requirement to be satisfied for unauthenticated requests when an application relies on ValidationHandler as its enforcement middleware. The no-op callback prevents the fail-closed ErrAuthenticationServiceMissing path from being reached and forwards the request to protected handlers that may require an API key, OAuth token, or another security scheme. This issue is fixed in version 0.144.0.

Analysis

AI-generated

Technical impact

The flaw in kin-openapi’s ValidationHandler.Load() causes a nil AuthenticationFunc to be silently replaced with NoopAuthenticationFunc, which simply returns nil and never verifies credentials. As a result, every OpenAPI security requirement is considered satisfied for unauthenticated requests, allowing attackers to reach protected endpoints that normally require an API key, OAuth token, or other credential. This represents a classic authentication bypass (CWE-287) and could expose sensitive data or services to unauthenticated access.

Affected Systems

The vulnerability affects the getkin:kin-openapi package. Versions prior to v0.144.0 are impacted; v0.144.0 and later include a fix. Any deployment that relies on ValidationHandler as its middleware and has not yet upgraded is susceptible.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, and an EPSS score is not available, so the precise exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote attacker sending unauthenticated HTTP requests to endpoints protected by kin-openapi’s ValidationHandler. If the application does not provide a custom AuthenticationFunc, the default noop function will allow the request to pass through, bypassing the intended security checks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade kin-openapi to version 0.144.0 or later, as the fix is included in that release.
  • If an upgrade cannot be performed immediately, manually set ValidationHandler.AuthenticationFunc to a proper implementation that validates credentials, rather than leaving it nil so it defaults to the no‑op function.
  • Validate that protected endpoints now reject unauthenticated requests by testing signing in and attempting access without credentials.

Generated by OpenCVE AI on August 13, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi
Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. Prior to 0.144.0, ValidationHandler.Load() in openapi3filter/validation_handler.go silently replaces a nil AuthenticationFunc with NoopAuthenticationFunc, which returns nil without checking credentials. This substitution causes every OpenAPI security requirement to be satisfied for unauthenticated requests when an application relies on ValidationHandler as its enforcement middleware. The no-op callback prevents the fail-closed ErrAuthenticationServiceMissing path from being reached and forwards the request to protected handlers that may require an API key, OAuth token, or another security scheme. This issue is fixed in version 0.144.0.
Title kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default
Weaknesses CWE-287
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 1:06 PM
Reserved
Aug 12, 2026, 7:00 PM
Status
Deferred
Published
Aug 12, 2026, 10:17 PM
Modified
Oct 24, 2026, 3:10 PM