SCA: security update for github.com/ory/oathkeeper (GHSA-4mq7-pvjg-xp2r)

high Tenable Cloud Security Plugin ID 439085

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. Versions prior to 26.2.0 are vulnerable to authentication bypass
due to cache key confusion. The `oauth2_introspection` authenticator cache does not distinguish tokens
that were validated with different introspection URLs. An attacker can therefore legitimately use a token
to prime the cache, and subsequently use the same token for rules that use a different introspection
server. Ory Oathkeeper has to be configured with multiple `oauth2_introspection` authenticator servers,
each accepting different tokens. The authenticators also must be configured to use caching. An attacker
has to have a way to gain a valid token for one of the configured introspection servers. Starting in
version 26.2.0, Ory Oathkeeper includes the introspection server URL in the cache key, preventing
confusion of tokens. Update to the patched version of Ory Oathkeeper. If that is not immediately possible,
disable caching for `oauth2_introspection` authenticators. (CVE-2026-33496)

Solution

Update the github.com/ory/oathkeeper library and its related packages to version 0.40.10-0.20260320084801-198a2bc82a99 or later.

See Also

https://github.com/advisories/GHSA-4mq7-pvjg-xp2r

Plugin Details

Severity: High

ID: 439085

Version: Revision 1.9

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: Medium

Score: 6.3

Percentile: 96.81

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-33496

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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-33496