CVE-2020-5300: Authentication Bypass in github.com/ory/hydra
Summary
CVE-2020-5300: Authentication Bypass in hydra in github.com/ory/hydra. Affects github.com/ory/hydra versions < 1.4.0. Fixed in 1.4.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package github.com/ory/hydra is a Go ecosystem package that provides functionality for authentication and authorization. It is commonly used in web applications to handle user authentication and access control. This package is vulnerable to an authentication bypass vulnerability.
Vulnerability Detail
The authentication bypass vulnerability in github.com/ory/hydra allows an attacker to bypass the authentication mechanism and gain unauthorized access to protected resources. This vulnerability can be exploited by sending specially crafted requests to the affected application. Successful exploitation of this vulnerability can lead to unauthorized access to sensitive data or functionality.
How To Fix
Latest published version: v1.11.10 as of 23 Oct 2026
go get github.com/ory/hydra@v1.11.10
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.4.0
This is the first release that contains the fix.
go get github.com/ory/hydra@v1.4.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to update the package to the latest patched version.
Conclusion
The authentication bypass vulnerability in github.com/ory/hydra can lead to unauthorized access to protected resources. It is crucial for developers to update their applications to the latest patched version of the package to mitigate the risk.
See every vulnerability recorded for github.com/ory/hydra →
FAQ
This vulnerability allows an attacker to bypass the authentication mechanism and gain unauthorized access to protected resources.
You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your Gopkg.lock file and Vulert will analyze it for any open-source vulnerabilities, including this one.
There is no known workaround for this vulnerability. It is recommended to update the package to the latest patched version.
To update the package, you can use the package manager for your Go project. For example, if you are using Go modules, you can run 'go get -u github.com/ory/hydra' to update to the latest version.
There are no known public exploits for this vulnerability at the time of writing. However, it is important to update the package to the latest version to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for github.com/ory/hydra.