Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-142245: critical-severity vulnerability (CVSS 9.1) in getkin kin-openapi.
What happened
Original description from the source: 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.
Why it matters
Critical severity, CVSS 9.1.
Affected products and versions
getkin kin-openapi <= 0.153.0
| Product | Versions | Fixed in |
|---|---|---|
| getkin kin-openapi | <= 0.153.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/validation_handler.go#L118-L143 — CVE Program
- https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/middleware.go#L119-L138 — CVE Program
- https://github.com/getkin/kin-openapi/blob/v0.153.0/routers/legacy/router.go#L110-L123 — CVE Program
- https://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths — CVE Program
Weaknesses (CWE): CWE-647
Relevant change history
Published
Preliminary advisory published.