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.
Published: 2026-08-12
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 13 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 10:15:00 +0000

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

Wed, 12 Aug 2026 21:45:00 +0000

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'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T13:06:36.863Z

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

Link: CVE-2026-73501

cve-icon Vulnrichment

Updated: 2026-08-13T13:06:23.209Z

cve-icon NVD

Status : Received

Published: 2026-08-12T22:17:17.443

Modified: 2026-08-13T13:19:18.350

Link: CVE-2026-73501

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:47:38Z

Weaknesses