AploSec / Disclosures / CVE-2026-142245
kin-openapi through 0.153.0 Security Requirement Bypass via Encoded Request Paths
CVE-2026-142245 · published 2026-12-02
Summary
CVE-2026-142245 affects kin-openapi (Go) <= 0.153.0: Security Requirement Bypass via Encoded Request Paths (CWE-647). No fixed release is listed. CVSS 4.0 base score 9.1 (Critical), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths
- Vulnerable codehttps://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/validation_handler.go#L118-L143
- Vulnerable codehttps://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/middleware.go#L119-L138
- Vulnerable codehttps://github.com/getkin/kin-openapi/blob/v0.153.0/routers/legacy/router.go#L110-L123
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142245
- Severity
- Critical 9.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- kin-openapi
- Ecosystem
- Go
- Affected
- <= 0.153.0
- Fixed
- None
- Weakness
- CWE-647
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder