Skip to main content

kin-openapi CVE-2026-142245

| EUVDEUVD-2026-141585 CRITICAL
Use of Non-Canonical URL Paths for Authorization Decisions (CWE-647)
2026-12-02 VulnCheck GHSA-x45w-3qcq-682f
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Send percent-encoded request path
  2. Delivery
    Validator matches public operation
  3. Exploit
    AuthenticationFunc skipped
  4. Execution
    Router dispatches protected handler
  5. Impact
    Unauthorized access to protected resource

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Use of non-canonical URL paths
Exploitation Conditions

Exploitation requires that the target application rely on kin-openapi to enforce OpenAPI security requirements - specifically reaching the vulnerable code paths through Servers.MatchURL, the openapi3filter Validator.Middleware, or the legacy router that calls AuthenticationFunc - while the application also has protected operations that must be distinguished from public ones. The attacker must craft a percent-encoded path (encoded separators or other encoded characters) that the validation layer resolves to a public operation while the router resolves it to a protected handler. Limiting factors: the flaw only matters when kin-openapi is the authorization-enforcement point (apps enforcing auth elsewhere are unaffected), and the AC:H/AT:P metrics indicate that finding an encoding which produces the validator/router mismatch depends on the specific route configuration rather than being universally trivial. No authentication and no user interaction are required (PR:N/UI:N).

Impact

This is a genuine priority, not a high-CVSS-but-low-real-risk issue. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) shows a network-reachable flaw requiring no privileges and no user interaction, and the vulnerable-system impact is High for both confidentiality and integrity (VC:H/VI:H) because bypassing kin-openapi's security enforcement grants access to protected handlers. The vuln.today decision label is act_now and the finding was reported by VulnCheck, both reinforcing urgency. The tempering signals are AC:H and AT:P: success depends on the application's specific operation routing so that an encoded path resolves to a public operation in the validator while the router dispatches a protected handler - the description grounds this mechanism explicitly, so the complexity reflects needing a validator/router divergence rather than a simple blind request. Two signals are missing from the input and should not be presented as known: there is no EPSS score and no CISA KEV entry provided, so exploitation probability and confirmed in-the-wild use cannot be asserted. One important aggravator: this is described as an incomplete fix for CVE-2026-100351, meaning it bypasses a prior patch, which raises the likelihood that patched-but-not-fully-remediated deployments remain exposed.

Exploit ScenarioDerived

An application uses kin-openapi to enforce OpenAPI security requirements (via AuthenticationFunc, Validator.Middleware, or Servers.MatchURL). An unauthenticated attacker sends a request with a percent-encoded path (e.g. encoded path separators) so the validator matches a public operation and skips AuthenticationFunc, while the underlying router still dispatches the protected handler, yielding unauthorized access. A public PoC reference exists (VulnCheck advisory and the affected source lines); it is not verified as working exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet

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

Alert me

AnalysisAIv1 – Dec 02, 2026

An authentication bypass in kin-openapi (through 0.153.0) lets unauthenticated attackers reach protected handlers by sending percent-encoded request paths that the validation layer resolves to a public operation while the router resolves it to a protected one, so AuthenticationFunc is never invoked. It is reachable through Servers.MatchURL, the openapi3filter Validator.Middleware, and the legacy router path, and is an incomplete fix for CVE-2026-100351 - meaning applications that already upgraded in response to that earlier advisory remain exposed. No public exploit code has been identified at time of analysis and the library is not in CISA KEV, but this is a genuine priority: the assessed vector is AV:N/AC:H/PR:N/UI:N with high confidentiality and integrity impact, and the practical limiting factor is that exploitation depends on the target's specific route configuration (whether kin-openapi is the authorization-enforcement point and whether protected and public operations can be confused).

RemediationAI

No vendor-released patch identified at time of analysis; the published references point to the vulnerable code in v0.153.0 rather than to an upstream fix, so track the kin-openapi project and the VulnCheck advisory (https://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths) for a fixed release and upgrade as soon as one is tagged - note that any version carrying only the CVE-2026-100351 fix is not sufficient. As compensating controls, stop treating kin-openapi validation as your authorization boundary: enforce authentication and authorization inside the handler or in your own middleware that runs before routing, so a handler cannot execute on the strength of a matched operation's security block (trade-off: duplicated policy logic that must be kept in sync with the OpenAPI document). Where the library's own matching must stay in the path, reject or normalize requests whose paths contain percent-encoded separators or other encoded characters before they reach Servers.MatchURL or Validator.Middleware, and make that rejection fail closed (trade-off: legitimate clients that rely on encoded characters in paths will break). Finally, reduce the attack surface by avoiding configurations where public and protected operations differ only in ways that encoded paths can collapse, and audit existing route tables for such pairs.

Affected VersionsENISA

kin-openapi 0 ≤0.153.0

Affected Packages

euvd kin_openapi no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in 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 Go library for parsing OpenAPI 3 documents and, via openapi3filter, for validating incoming HTTP requests against those documents - including enforcement of per-operation security requirements through a user-supplied AuthenticationFunc. The flaw is CWE-647 (Use of Incorrectly-Resolved Name or Reference): two independent path-resolution steps disagree about which route a request names. The validator (reached through Servers.MatchURL, or through Validator.Middleware at middleware.go) resolves a percent-encoded path - encoded separators in particular - to a public operation with no security requirements, while the router (including the legacy router path that calls AuthenticationFunc) decodes or matches it differently and dispatches to a protected handler. Authorization is therefore skipped entirely because AuthenticationFunc is never called for the handler that actually executes. The relevant code paths are validation_handler.go (L118-L143), middleware.go (L119-L138) and routers/legacy/router.go (L110-L123) in v0.153.0. The AC:H/AT:P metrics reflect that a working encoding depends on the target's route table rather than being universally trivial. The flaw only matters when kin-openapi is the authorization-enforcement point; applications enforcing authentication elsewhere are unaffected.

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 (VulnCheck) PRIMARY 9.1 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.4 HIGH

Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H because success needs a route-specific encoding that diverges between validator and router; C:H/I:H from reaching protected handlers, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

kin-openapi through 0.153.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to skip security requirements by sending percent-encoded request paths, due to an incomplete fix for CVE-2026-100351. Attackers can use encoded separators via Servers.MatchURL, requests through Validator.Middleware, or other encoded characters so validation matches a public operation while the router serves a protected handler without calling AuthenticationFunc.

Executive ViewAI

Why It Matters

A critical authentication bypass in the kin-openapi library (up to version 0.153.0) allows unauthenticated attackers to access protected API endpoints by crafting percent-encoded request paths, potentially leading to data breaches and unauthorized actions. Organizations using kin-openapi for API validation are at risk, even if they previously patched CVE-2026-100351, because this is an incomplete fix. Leadership should prioritize addressing this vulnerability to prevent exploitation that could undermine trust and compliance.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include normalizing percent-encoded request paths before routing, enforcing authentication at an upstream proxy or API gateway, and restricting network access to affected APIs.

Threat Intelligence Overview

Prevalence
Medium
popular Go OpenAPI 3 validation library, common in API middleware but not ubiquitous
Data Quality
3 sources
Confidence: Low

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 N/A
Patch available No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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-73501 CRITICAL
9.1 Aug 12

Authentication bypass in the kin-openapi Go library (getkin/kin-openapi) before 0.144.0 lets unauthenticated remote atta

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

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