CVE-2026-142245: kin-openapi through 0.153.0 Security Requirement Bypass via Encoded Request Paths
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 Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using kin-openapi through 0.153.0 are exposed when encoded request paths can cause validation to match a public operation while the application router dispatches the request to a protected handler. The affected paths include Servers.MatchURL, Validator.Middleware, and other handling of encoded characters.
Does exploitation require an authenticated account or user interaction?
No. The vulnerability is rated with no privileges required and no user interaction required. An unauthenticated attacker can attempt the bypass by crafting requests with percent-encoded path characters, including encoded separators.
What security control fails during exploitation?
The request can reach a protected handler without AuthenticationFunc being called. This occurs when validation selects a public operation for the encoded path but the router resolves that request to a protected handler.