SCA: security update for github.com/ory/oathkeeper (GHSA-vhr5-ggp3-qq85)

medium Tenable Self-Hosted Container Security Plugin ID 439086

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP
requests based on sets of Access Rules. 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. Prior to version 26.2.0,
Oathkeeper did not properly respect this configuration, and would always consider the `X-Forwarded-Proto`
header. In order for an attacker to abuse this, an installation of Ory Oathkeeper needs to have distinct
rules for HTTP and HTTPS requests. Also, the attacker needs to be able to trigger one but not the other
rule. In this scenario, the attacker can send the same request but with the `X-Forwarded-Proto` header in
order to trigger the other rule. We do not expect many configurations to meet these preconditions. Version
26.2.0 contains a patch. Ory Oathkeeper will correctly respect the `serve.proxy.trust_forwarded_headers`
configuration going forward, thereby eliminating the attack scenario. We recommend upgrading to a fixed
version even if the preconditions are not met. As an additional mitigation, it is generally recommended to
drop any unexpected headers as early as possible when a request is handled, e.g. in the WAF.
(CVE-2026-33495)

Solution

Update the github.com/ory/oathkeeper library and its related packages to version 0.40.10-0.20260320084810-e9acca14a04d or later.

See Also

https://github.com/advisories/GHSA-vhr5-ggp3-qq85

Plugin Details

Severity: Medium

ID: 439086

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/21/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-33495

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/20/2026

Vulnerability Publication Date: 3/20/2026

Reference Information

CVE: CVE-2026-33495

cwe: CWE-862