Description
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. In versions prior to 1.13.1, under specific conditions, models using conditions with caching enabled can result in two different check requests producing the same cache key. This can result in OpenFGA reusing an earlier cached result for a different request. Users are affected if the model has relations which rely on condition evaluation andncaching is enabled. OpenFGA v1.13.1 contains a patch.
Published: 2026-03-27
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass
Action: Patch update
AI Analysis

Impact

OpenFGA is an authorization engine that relies on cached evaluations of condition logic to improve performance. In versions prior to 1.13.1, when caching is enabled for models that use condition evaluation, two distinct authorization check requests can produce the same cache key. The engine may then return a cached result belonging to a different request, allowing an attacker to gain permissions they should not have. This flaw effectively bypasses the authorization intended by the model, matching the weaknesses listed as CWE‑1289, CWE‑20, and CWE‑345.

Affected Systems

Installations of the OpenFGA authorization service running a version older than 1.13.1 that enable condition evaluation caching are affected. The vulnerability applies to all OpenFGA products, as reflected in the CPE string for the openfga:openfga package. Users whose models include relations that depend on condition evaluation with caching should consider an update.

Risk and Exploitability

With a CVSS score of 5.8, the flaw is classified as medium severity, and an EPSS score below 1% indicates low current exploit likelihood. It is not listed in the CISA KEV catalog, suggesting limited widespread exploitation. The likely attack vector involves sending crafted authorization requests through the OpenFGA API to trigger the cache key collision; this is inferred from the description and not explicitly documented. If successful, the attacker may read a cached authorization result that applies to a different user or action, effectively bypassing intended access controls.

Generated by OpenCVE AI on April 14, 2026 at 02:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenFGA to version 1.13.1 or newer.
  • If an upgrade cannot be performed immediately, disable caching for condition evaluations in the model configuration.
  • Verify that the service no longer returns duplicate cache results by testing with distinct authorization requests.
  • Monitor logs for anomalous authorization and observe usage after applying the fix for any unintended access patterns.

Generated by OpenCVE AI on April 14, 2026 at 02:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h6c8-cww8-35hf OpenFGA has an Authorization Bypass through cached keys
History

Tue, 14 Apr 2026 01:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 30 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 27 Mar 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Openfga
Openfga openfga
Vendors & Products Openfga
Openfga openfga

Fri, 27 Mar 2026 04:00:00 +0000

Type Values Removed Values Added
Description OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. In versions prior to 1.13.1, under specific conditions, models using conditions with caching enabled can result in two different check requests producing the same cache key. This can result in OpenFGA reusing an earlier cached result for a different request. Users are affected if the model has relations which rely on condition evaluation andncaching is enabled. OpenFGA v1.13.1 contains a patch.
Title OpenFGA has an Authorization Bypass through cached keys
Weaknesses CWE-1289
CWE-20
CWE-345
References
Metrics cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-30T11:53:10.107Z

Reserved: 2026-03-23T17:34:57.560Z

Link: CVE-2026-33729

cve-icon Vulnrichment

Updated: 2026-03-30T11:53:06.987Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-27T01:16:20.367

Modified: 2026-04-14T01:04:41.103

Link: CVE-2026-33729

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:42:39Z

Weaknesses