Skip to main content

kin-openapi CVE-2026-73501

| EUVDEUVD-2026-57598 CRITICAL
Improper Authentication (CWE-287)
2026-08-12 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify service using ValidationHandler without AuthenticationFunc
  2. Delivery
    Send unauthenticated request to protected route
  3. Exploit
    No-op auth approves security requirement
  4. Execution
    Reach protected handler
  5. Impact
    Access or modify restricted data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses openapi3filter.ValidationHandler as its authentication enforcement point for routes carrying OpenAPI security requirements (API key, OAuth, or other scheme) AND that the developer left the ValidationHandler.AuthenticationFunc field unset, causing the vulnerable Load() default. When those conditions hold, no further prerequisites exist: a remote, unauthenticated attacker sending a normal HTTP request to a protected route is enough, and the fail-closed ErrAuthenticationServiceMissing path is bypassed. What LIMITS exploitation: the flaw does not apply if the application sets a real AuthenticationFunc, enforces auth in a separate middleware layer, defines no security requirements in its spec, or does not use ValidationHandler at all - so exposure is a function of this specific middleware misuse, not of merely importing the library.

Impact

The vendor CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (9.1) reflects a network-reachable, low-complexity, unauthenticated bypass with high confidentiality and integrity impact and no availability impact - internally consistent for an auth-bypass class. The critical nuance the raw score understates is a deployment precondition: the flaw only manifests when an application actually relies on ValidationHandler for security enforcement AND omits setting AuthenticationFunc, in which case the insecure default silently applies. There is no EPSS score, no SSVC decision data, and no POC or KEV signal in the provided input, so exploitation probability cannot be quantified; absence of a POC is not evidence of low risk here because triggering requires only a normal unauthenticated HTTP request to a protected route. This is a genuine priority for the subset of downstream Go services that use this middleware as their gate, but it is not a mass-exploitable single-endpoint bug like a public-facing appliance RCE - real-world exposure depends on how many deployments use ValidationHandler for enforcement, which is unknown from the data.

Exploit ScenarioDerived

An attacker identifies a Go service whose OpenAPI spec marks certain routes as requiring an API key or OAuth token but which uses ValidationHandler without a configured AuthenticationFunc. The attacker sends an ordinary HTTP request to a protected endpoint with no credentials; the no-op auth callback approves the request and the protected handler executes, returning or modifying data that should have required authentication. No POC is published, but the attack requires only a standard unauthenticated request given the AV:N/AC:L/PR:N/UI:N vector.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Authentication bypass in the kin-openapi Go library (getkin/kin-openapi) before 0.144.0 lets unauthenticated remote attackers reach protected routes when an application uses openapi3filter.ValidationHandler as its enforcement middleware without explicitly setting an AuthenticationFunc. Because Load() silently substitutes a no-op callback for a nil AuthenticationFunc, every OpenAPI security requirement is treated as satisfied and the fail-closed guard is never reached. There is no public exploit identified at time of analysis and it is not in CISA KEV, but the flaw is fail-open by default, disclosed with source-level detail in GHSA-r277-6w6q-xmqw, and carries a vendor CVSS of 9.1.

RemediationAI

Vendor-released patch: upgrade the github.com/getkin/kin-openapi module to v0.144.0 (fix commit f0407d53b0730280266f454b755010e7eeb985da; release https://github.com/getkin/kin-openapi/releases/tag/v0.144.0). After upgrading, note a behavioral change: ValidationHandler no longer defaults AuthenticationFunc to a no-op, so an unset field now returns ErrAuthenticationServiceMissing on any route with security requirements - you must explicitly implement and assign an AuthenticationFunc that validates the relevant API key, OAuth token, or other scheme (or deliberately assign NoopAuthenticationFunc only where anonymous access is intended). If you cannot upgrade immediately, the compensating control is to explicitly set a real AuthenticationFunc on every ValidationHandler even on the vulnerable version, which closes the bypass; alternatively enforce authentication in a separate upstream middleware layer rather than relying on ValidationHandler, accepting the trade-off of duplicated security logic. Review advisory GHSA-r277-6w6q-xmqw for details.

Affected VersionsENISA

kin-openapi < 0.144.0

Affected Packages

go github.com/getkin/kin-openapi fix: 0.144.0
euvd kin_openapi fix: 0.144.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kin-openapi is a widely used Go toolkit (module github.com/getkin/kin-openapi, CPE cpe:2.3:a:getkin:kin-openapi) for parsing, validating, and routing against OpenAPI 3 specifications. The affected component, openapi3filter.ValidationHandler, is an HTTP middleware that validates incoming requests against a loaded spec, including its declared security requirements. The root cause is CWE-287 (Improper Authentication): ValidationHandler.Load() (validation_handler.go:47-49) unconditionally replaces a nil AuthenticationFunc with NoopAuthenticationFunc, a stub that returns nil without checking any credential. During request handling, ValidateRequest (validate_request.go:436-438) is designed to return ErrAuthenticationServiceMissing when the AuthenticationFunc is nil - a fail-closed path - but because the field is now populated with the no-op rather than left nil, that guard never triggers and each security scheme check silently passes. The fix (commit f0407d53) removes the default substitution so an unset AuthenticationFunc once again produces ErrAuthenticationServiceMissing.

Know when Kin Openapi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

Unauthenticated remote request bypasses auth (AV:N/AC:L/PR:N/UI:N) reaching protected handlers with high confidentiality and integrity impact; no availability effect, scope unchanged as the middleware itself is the vulnerable component.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 9.1 CRITICAL

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 22:03 EUVD
CVE Published
Aug 12, 2026 - 21:23 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The widely-deployed kin-openapi Go library contains a critical authentication bypass affecting API protection across many services. When used without explicit AuthenticationFunc configuration, the library silently disables all OpenAPI security requirements, allowing unauthenticated remote attackers to access protected endpoints. Organizations using this library face immediate risk of unauthorized data access and API manipulation.

Business Impact: Severe
Compensating Controls

Apply vendor patch. As immediate mitigation pending deployment, explicitly configure AuthenticationFunc in ValidationHandler initialization.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular Go OpenAPI library, but exposure limited to ValidationHandler enforcement users
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-77354 HIGH POC
8.7 Aug 21

Uncontrolled heap allocation in kin-openapi versions 0.124.0 through 0.141.x allows any unauthenticated remote client to

CVE-2026-76905 HIGH POC
7.5 Aug 21

Nil pointer dereference in kin-openapi's openapi3filter.ConvertErrors allows any unauthenticated remote client to crash

CVE-2026-100349 HIGH
8.2 Oct 15

Response validation in kin-openapi (openapi3filter.ValidateResponse) panics with a nil pointer dereference when an OpenA

CVE-2026-100353 HIGH
7.5 Oct 15

Nil-pointer dereference in kin-openapi 0.136.0 through 0.148.x lets an unauthenticated remote client reliably panic Go a

CVE-2026-100354 HIGH
7.5 Oct 15

Denial of service in kin-openapi before 0.149.0 allows unauthenticated remote attackers to terminate the entire Go proce

CVE-2026-97394 HIGH
7.5 Oct 15

A nil-pointer panic in kin-openapi's openapi3filter validation path can crash any Go service that embeds versions 0.136.

CVE-2026-100351 HIGH
7.4 Oct 15

An unauthenticated remote request can slip past kin-openapi's openapi3filter authentication middleware and reach a handl

CVE-2026-100350 MEDIUM
5.3 Oct 15

A low-severity denial-of-service condition affects the Go library kin-openapi in versions 0.145.0 through 0.146.0 (exclu

CVE-2026-100347 MEDIUM
5.3 Oct 15

Unsupported or non-canonical HTTP methods sent to Go services built on kin-openapi's openapi3filter.ValidationHandler wi

CVE-2026-100348 MEDIUM
5.3 Oct 15

A nil pointer dereference in kin-openapi versions prior to 0.145.0 lets a crafted OpenAPI document panic the loader, den

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Module for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected
SUSE Manager Client Tools 15 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy