Improper Authentication in kin-openapi - #VU140574
Published: July 30, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication and access protected endpoints.
The vulnerability exists due to improper authentication in ValidationHandler.Load() when initializing request validation with a nil AuthenticationFunc. A remote attacker can send an unauthenticated request to bypass authentication and access protected endpoints.
Only applications that rely on ValidationHandler to enforce OpenAPI security requirements and do not explicitly set AuthenticationFunc are vulnerable.