CVE-2020-5300: Authentication Bypass in github.com/ory/hydra

github.com/ory/hydra Updated 02 Oct 2025

Summary

21/08/2024
Yes i
Moderate
5.8

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback