CVE-2026-142245
kin-openapi through 0.153.0 Security Requirement Bypass via Encoded Request Paths
9.1 CRITICALEPSS 0.83%Not in KEVNVD: Deferred
Overview
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.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.1 | CRITICAL | 4.0VulnCheck (CNA) | Getkin Kin-Openapi |
| 7.4 | HIGH | 3.1VulnCheck (CNA) |
Details
- CVE ID
- CVE-2026-142245
- Status
- Deferred
- Assigner (CNA)
- VulnCheck
- Published
- Dec 2, 2026
- Last modified
- Dec 3, 2026, 3:17 PM UTC
- Weaknesses
- CWE-647 · Use of Non-Canonical URL Paths for Authorization Decisions
Affected Products
As published by the CNA in the CVE record.
getkinkin-openapi1 version range
- through 0.153.0
References
- github.com https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/middleware.go#L119-L138
- github.com https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/validation_handler.go#L118-L143
- github.com https://github.com/getkin/kin-openapi/blob/v0.153.0/routers/legacy/router.go#L110-L123
- vulncheck.com https://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths