Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ory/oathkeeper
  4. ›
  5. CVE-2026-33495

CVE-2026-33495: Ory Oathkeeper has an authentication bypass by usage of untrusted header

March 20, 2026

Ory Oathkeeper is often deployed behind other components like CDNs, WAFs, or reverse proxies. Depending on the setup, another component might forward the request to the Oathkeeper proxy with a different protocol (http vs. https) than the original request. In order to properly match the request against the configured rules, Oathkeeper considers the X-Forwarded-Proto header when evaluating rules. The configuration option serve.proxy.trust_forwarded_headers (defaults to false) governs whether this and other X-Forwarded-* headers should be trusted. Oathkeeper did not properly respect this configuration, and would always consider the X-Forwarded-Proto header.

References

  • github.com/advisories/GHSA-vhr5-ggp3-qq85
  • github.com/ory/oathkeeper
  • github.com/ory/oathkeeper/commit/e9acca14a04d246250557550065e4b4576525bd5
  • github.com/ory/oathkeeper/security/advisories/GHSA-vhr5-ggp3-qq85
  • nvd.nist.gov/vuln/detail/CVE-2026-33495

Code Behaviors & Features

Detect and mitigate CVE-2026-33495 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.40.10-0.20260320084810-e9acca14a04d

Fixed versions

  • 0.40.10-0.20260320084810-e9acca14a04d

Solution

Upgrade to version 0.40.10-0.20260320084810-e9acca14a04d or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/ory/oathkeeper/CVE-2026-33495.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:42 +0000.