Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getkin | kin-openapi | 0 ≤0.153.0 | — |
References
- https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/validation_handler.go#L118-L143
- https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/middleware.go#L119-L138
- https://github.com/getkin/kin-openapi/blob/v0.153.0/routers/legacy/router.go#L110-L123
- https://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths