<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>ORY - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/ory/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 23 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/ory/feed.xml" rel="self" type="application/rss+xml"/><item><title>ORY Oathkeeper Authentication Bypass Vulnerability (CVE-2026-33496)</title><link>https://feed.craftedsignal.io/briefs/2024-01-ory-oathkeeper-auth-bypass/</link><pubDate>Tue, 23 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-ory-oathkeeper-auth-bypass/</guid><description>ORY Oathkeeper before 26.2.0 is vulnerable to authentication bypass (CVE-2026-33496) due to cache key confusion in the `oauth2_introspection` authenticator, allowing attackers with a valid token to bypass authentication by reusing it with different introspection URLs.</description><content:encoded><![CDATA[<p>ORY Oathkeeper, an Identity &amp; Access Proxy, is susceptible to an authentication bypass vulnerability (CVE-2026-33496) affecting versions prior to 26.2.0. This vulnerability stems from a cache key confusion issue within the <code>oauth2_introspection</code> authenticator. The cache fails to differentiate between tokens validated using different introspection URLs. This allows an attacker, who has legitimately obtained a valid token for one of the configured introspection servers, to prime the cache and subsequently reuse the same token for access rules intended for a different introspection server. The attack requires the Oathkeeper instance to be configured with multiple <code>oauth2_introspection</code> authenticators, all utilizing caching. This poses a significant risk as it enables unauthorized access to protected resources. Version 26.2.0 addresses this issue by incorporating the introspection server URL into the cache key.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies an ORY Oathkeeper instance running a version prior to 26.2.0 configured with multiple <code>oauth2_introspection</code> authenticators using caching.</li>
<li>The attacker obtains a valid OAuth2 token for one of the configured introspection endpoints, potentially through legitimate means or by compromising a service that issues tokens for that endpoint.</li>
<li>The attacker crafts a request to a protected resource that is governed by an access rule configured to use the compromised token's introspection endpoint. This primes the Oathkeeper's cache with the token's validation result.</li>
<li>The attacker then crafts a second request to a <em>different</em> protected resource that is governed by an access rule configured to use a <em>different</em> introspection endpoint. Critically, this request uses the <em>same</em> token.</li>
<li>Due to the cache key collision, Oathkeeper incorrectly uses the cached validation result from the first introspection endpoint for the second request.</li>
<li>If the token is considered valid based on the cached result (even though it should be invalid for the second introspection endpoint), Oathkeeper grants unauthorized access to the protected resource.</li>
<li>The attacker successfully bypasses authentication and gains access to a resource they should not be authorized to access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-33496 allows an attacker to bypass authentication and gain unauthorized access to protected resources managed by ORY Oathkeeper. The number of affected organizations depends on the adoption rate of ORY Oathkeeper and the number of instances running vulnerable versions with the specific misconfiguration (multiple <code>oauth2_introspection</code> authenticators with caching enabled). If exploited, this vulnerability can lead to data breaches, unauthorized modification of resources, and other security incidents.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade ORY Oathkeeper to version 26.2.0 or later to incorporate the fix for CVE-2026-33496.</li>
<li>As a temporary workaround, disable caching for <code>oauth2_introspection</code> authenticators to mitigate the vulnerability until an upgrade can be performed, as suggested in the advisory.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>authentication-bypass</category><category>vulnerability</category><category>oathkeeper</category><category>cache-poisoning</category><category>cloud</category></item><item><title>Ory Keto SQL Injection Vulnerability via GetRelationships API (CVE-2026-33505)</title><link>https://feed.craftedsignal.io/briefs/2024-01-ory-keto-sql-injection/</link><pubDate>Wed, 03 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-ory-keto-sql-injection/</guid><description>Ory Keto versions prior to 26.2.0 are vulnerable to SQL injection via the GetRelationships API due to flaws in its pagination implementation, enabling attackers with knowledge of the pagination secret (or the default secret) to craft malicious tokens leading to arbitrary SQL query execution.</description><content:encoded><![CDATA[<p>Ory Keto, an open-source authorization server designed for managing permissions at scale, is susceptible to a SQL injection vulnerability (CVE-2026-33505) affecting versions prior to 26.2.0. This vulnerability resides within the GetRelationships API due to insecure pagination token handling. The application uses a secret configured in <code>secrets.pagination</code> to encrypt pagination tokens. However, if this configuration is absent, it defaults to a publicly known hard-coded secret. An attacker who knows the secret can craft malicious pagination tokens, enabling SQL injection. This impacts organizations where the GetRelationships API is accessible, the attacker can inject a raw pagination token, and the <code>secrets.pagination</code> value is either not set or known. This allows an attacker to execute arbitrary SQL queries against the Ory Keto database, potentially compromising sensitive data and control over the authorization server.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies an Ory Keto instance running a version prior to 26.2.0.</li>
<li>The attacker determines that the <code>secrets.pagination</code> configuration value is not set on the target Ory Keto instance, enabling the default hardcoded secret.</li>
<li>The attacker crafts a malicious SQL payload designed to be injected into the GetRelationships API.</li>
<li>The attacker generates a valid-looking pagination token using the known default <code>secrets.pagination</code> secret, embedding the malicious SQL payload within the token.</li>
<li>The attacker sends a request to the GetRelationships API with the forged pagination token.</li>
<li>The Ory Keto application processes the request and decrypts the pagination token, unknowingly passing the malicious SQL payload to the database query.</li>
<li>The database executes the attacker's SQL query.</li>
<li>The attacker gains unauthorized access to sensitive information or executes arbitrary database commands.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this SQL injection vulnerability (CVE-2026-33505) in Ory Keto can have severe consequences. An attacker could potentially gain unauthorized access to sensitive permission data, modify access control policies, or even compromise the entire authorization server. This can lead to privilege escalation, data breaches, and complete control over the systems relying on Ory Keto for authorization. The CVSS v3.1 base score for this vulnerability is rated as 7.2 (High), highlighting the significant risk it poses to organizations using affected versions of Ory Keto.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately configure a custom value for <code>secrets.pagination</code> by generating a cryptographically secure random secret to mitigate CVE-2026-33505.</li>
<li>Upgrade Keto to version 26.2.0 or later to patch CVE-2026-33505, addressing the underlying SQL injection vulnerability.</li>
<li>Monitor web server logs for suspicious requests to the GetRelationships API containing unusual pagination tokens to detect potential exploitation attempts.</li>
<li>Implement rate limiting on the GetRelationships API to reduce the impact of potential SQL injection attacks.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>sql-injection</category><category>vulnerability</category><category>ory-keto</category><category>cve-2026-33505</category></item><item><title>ORY Oathkeeper Authorization Bypass via Path Traversal (CVE-2026-33494)</title><link>https://feed.craftedsignal.io/briefs/2024-01-ory-oathkeeper-path-traversal/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-ory-oathkeeper-path-traversal/</guid><description>ORY Oathkeeper versions prior to 26.2.0 are vulnerable to an authorization bypass (CVE-2026-33494) via HTTP path traversal, enabling attackers to access protected resources by crafting URLs with path traversal sequences.</description><content:encoded><![CDATA[<p>ORY Oathkeeper, an Identity &amp; Access Proxy (IAP) and Access Control Decision API, is susceptible to an authorization bypass vulnerability affecting versions prior to 26.2.0. This vulnerability, identified as CVE-2026-33494, stems from improper handling of HTTP path traversal sequences. Attackers can exploit this flaw by crafting malicious URLs containing sequences like <code>/public/../admin/secrets</code>. The application normalizes the path, resolving it to a protected resource. However, the authorization check uses the original, un-normalized path, potentially matching it against a permissive rule and granting unauthorized access. Organizations using affected versions of ORY Oathkeeper are at risk of unauthorized access to sensitive data and functionalities. Version 26.2.0 addresses this vulnerability with a patch.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies an ORY Oathkeeper instance running a version prior to 26.2.0.</li>
<li>The attacker crafts a malicious HTTP request URL containing path traversal sequences, such as <code>/public/../admin/secrets</code>, targeting a protected resource.</li>
<li>The request is sent to the ORY Oathkeeper instance.</li>
<li>ORY Oathkeeper receives the request and normalizes the path, correctly resolving it to <code>/admin/secrets</code>.</li>
<li>However, the authorization check uses the raw, un-normalized path (<code>/public/../admin/secrets</code>) to evaluate access rules.</li>
<li>A permissive rule matching the un-normalized path is found, potentially granting access.</li>
<li>ORY Oathkeeper incorrectly authorizes the request based on the flawed path evaluation.</li>
<li>The attacker gains unauthorized access to the protected resource <code>/admin/secrets</code>, potentially exfiltrating sensitive information or performing unauthorized actions.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-33494 allows attackers to bypass intended access controls within ORY Oathkeeper deployments. This can lead to unauthorized access to sensitive data, configuration settings, and administrative functionalities. Given the role of ORY Oathkeeper in securing HTTP requests, a successful attack can compromise the confidentiality and integrity of protected applications and resources. The CVSS v3.1 base score of 10.0 reflects the criticality of this vulnerability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately upgrade ORY Oathkeeper to version 26.2.0 or later to remediate CVE-2026-33494.</li>
<li>Deploy the Sigma rule &quot;Detect ORY Oathkeeper Path Traversal Attempts&quot; to identify exploitation attempts in web server logs.</li>
<li>Monitor web server logs for HTTP requests containing path traversal sequences (e.g., <code>..</code>, <code>%2e%2e</code>) in the URI, as detected by the Sigma rule &quot;Detect Generic HTTP Path Traversal&quot;.</li>
<li>Implement web application firewall (WAF) rules to block requests with malicious path traversal patterns.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>CVE-2026-33494</category><category>ORY Oathkeeper</category><category>path traversal</category><category>authorization bypass</category></item></channel></rss>